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.
fill-range
Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`
braces
Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.
to-regex-range
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
is-number
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
es-to-primitive
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
normalized-number
Rescales a number (min-max normalization)
decimal.js
An arbitrary-precision Decimal type for JavaScript.
big.js
A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic
has-value
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
has-values
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
is-negative-zero
Is this value negative zero? === will lie to you
strnum
Parse String to Number based on configuration
bignumber.js
A library for arbitrary-precision decimal and non-decimal arithmetic
micromark-util-decode-numeric-character-reference
micromark utility to decode numeric character references
libphonenumber-js
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
is-nan
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
pretty-ms
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
decimal.js-light
An arbitrary-precision Decimal type for JavaScript.
typical
Isomorphic, functional type-checking for Javascript