2714 packages found
Media Type Database
Check if a value is a plain object
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Avro for JavaScript
Get the native type of a value.
Determine if an object is a Stream
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
Type check values
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 Buffer
- arraybuffer
- browser
- browser buffer
- browserify
- buffer
- buffers
- core buffer
- dataview
- float32array
- float64array
- int16array
- int32array
- type
- typed array
Returns true if the value is an object and not an array or null.
Test if a double-precision floating-point numeric value is NaN.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- number
- View more
Infer the content-type of a request.
Improved typeof detection for node.js and the browser.
Test if a value is a function.
Test if a value is a plain object.