类型判断方法包
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
option parsing and help generation
Parses and compiles CSS nth-checks to highly optimized functions.
A sdk for support module federation
Check if a path is a file, directory, or symlink
Check if stdout or stderr is interactive
Error comparison and information related utility for node and the browser
TypeScript with some extras for type-checking.
Check if a path exists
Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible
minimal implementation of a PassThrough stream
No description provided.
JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
Check if a path is inside another path
Work with IANA language tags.
Minimalistic update notifications for command line interfaces
A little library for asserting types and values, with zero dependencies.
A inter-process and inter-machine lockfile utility that works on a local or network file system
Property testing for JavaScript
Type guards
textlint rule for prh.
Check if argv has a specific flag
Check if a local or remote port is reachable
Type check JSON objects
Type checking and type casting of parameters for Action Pack
Type-checked set and array
Various DSLs to clean, question (Ask), and validate (Demand) your objects, their classes (data types), and their properties.
A new check for puppet-lint that validates that all parameters are typed.
strong_csv is a type checker for a CSV file. It lets developers declare types for each column to ensure all cells are satisfied with desired types.
Allows you check if an object match a class expression. It is typically used to check the type of method paraameters. It is an alternative to using Ruby-3 .rbs files but with a different syntax and only dynamic checks Typically you'll include the Constrain module and use #constrain to check the type of method parameters: include Constrain # f takes a String and an array of Integer objects. Raise a Constrain::Error # if parameters doesn't have the expected types def f(a, b) constrain a, String constrain b, [Integer] end Constrain works with ruby-2 (and maybe ruby-3)
Type-checked serializers for your Ruby objects
Define configuration schemas with required and optional keys, type constraints, default values, and allowed value lists. Validates hashes and raises descriptive errors.
Enums, properties, generics, structured objects and runtime type checking.
Sorbet's runtime type checking component
tinytyping is simply type check.