3068 packages found
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
TypeScript-first schema declaration and validation library with static type inference
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
Get the native type of a value.
Improved typeof detection for node.js and the browser.
Check if a path is a file, directory, or symlink
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
unist utility to check if a node passes a test
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
unist utility to select nodes with CSS-like selectors
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Check if something is a Node.js stream
Determine if an object is a Stream
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
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
Stringify an object/array like JSON.stringify just without all the double-quotes
Avro for JavaScript