Search results
5300 packages found
Check if a path is a file, directory, or symlink
Detect the file type of a file, stream, or data
Check if something is a Node.js stream
Type check values
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Get the native type of a value.
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
Runtime library to validate data against TypeScript interfaces
A tiny javascript type testing tool
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Returns true if the value is an object and not an array or null.
A simple and composable way to validate data in JavaScript (and TypeScript).
Type assertions aka less-broken `typeof`
Detect the archive type of a Buffer/Uint8Array
A little library for asserting types and values, with zero dependencies.
- type
- types
- type-check
- type-checking
- duck-typing
- arguments
- parameters
- values
- data
- contract
- assert
- check
- verify
- safe