Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
is-empty
Check whether a value is "empty".
empty-dir
Check if a directory is empty.
has-value
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
validate.io-number
Validates if a value is a number.
is-natural-number
Check if a value is a natural number
@stdlib/assert-is-number
Test if a value is a number.
is-fullwidth-code-point
Check if the character represented by a given Unicode code point is fullwidth
type-check
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
@sindresorhus/is
Type check values
kind-of
Get the native type of a value.
ts-interface-checker
Runtime library to validate data against TypeScript interfaces
empty-lite
Check empty for: array, string, object, function, number, date
tcp-port-used
A simple Node.js module to check if a TCP port is already bound.
superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
is-primitive
Returns `true` if the value is a primitive.
is-empty-obj
Check if an object is empty or not.
file-type
Detect the file type of a file, stream, or data
@stdlib/math-base-assert-is-odd
Test if a finite numeric value is an odd number.
check-types
A little library for asserting types and values, with zero dependencies.