Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
typeof
Node module. typeOf('a string') == 'string', typeOf([]) == 'array', etc.. Also supports named functions detections aka javascript classes
is-plain-object
Returns true if an object was created by the `Object` constructor, or Object.create(null).
isobject
Returns true if the value is an object and not an array or null.
kind-of
Get the native type of a value.
has-symbols
Determine if the JS environment has Symbol support. Supports spec, or shams.
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
type-detect
Improved typeof detection for node.js and the browser.
has-bigints
Determine if the JS environment has BigInt support.
@sindresorhus/is
Type check values
is-type-of
complete type checking for node
koalas
Coalesce for JavaScript. Returns the first value that is not undefined or null.
typechecker
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
component-type
Type assertions aka less-broken `typeof`
is-primitive
Returns `true` if the value is a primitive.
craydent-typeof
Node module for type checking
ow
Function argument validation for humans
is-number-like
Checks whether provided parameter looks like a number
@stdlib/utils-constructor-name
Determine the name of a value's constructor.
is-lite
A tiny javascript type testing tool
@stdlib/assert-is-object-like
Test if a value is object-like.