Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Get the native type of a value.
Check if something is a Node.js stream
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Media Type Database
Check if a path is a file, directory, or symlink
Determines if an object can be used as an array
Returns true if the value is an object and not an array or null.
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Check if a value is a plain object
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Determine if an object is a Buffer
- arraybuffer
- browser
- browser buffer
- browserify
- buffer
- buffers
- core buffer
- dataview
- float32array
- float64array
- int16array
- int32array
- type
- typed array
Improved typeof detection for node.js and the browser.
Check if something is a generator function
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
Infer the content-type of a request.
Detect the file type of a file, stream, or data
Check if a value is an object
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.