Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
kind-of
Get the native type of a value.
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
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.
@sindresorhus/is
Type check values
p-is-promise
Check if something is a promise
koalas
Coalesce for JavaScript. Returns the first value that is not undefined or null.
inspect-with-kind
`util.inspect` with additional type information
typechecker
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
typy
Minimal JavaScript type checking library
kindof
A proper typeof that works with primitives, built-in value objects and those from other execution contexts.
@esm2cjs/is
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
precise-typeof
Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.
@marionebl/is
Type check values: `is.string('🦄') //=> true`
@stdlib/ndarray-base-assert-is-same-kind-data-type-cast
Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.
mout-lang-type
An extension to the `mout/lang` utilities
kindly
A thin wrapper for fs to group files by type
@alwatr/is-number
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
kind
A node.js type detection and comparison library
ts-type-detector
Takes any JavaScript data type or object as an input and returns a string describing the type of the input.