Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
number-theory
Number theory functions for javascript.
alea
Implementation of the Alea PRNG by Johannes Baagøe
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.
kind-of
Get the native type of a value.
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.
@sagemath/pari
PARI/GP is a widely used computer algebra system designed for fast computations in number theory.
@sagemath/flint
FLINT: Fast Library for Number Theory
es-to-primitive
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
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.
is-negative-zero
Is this value negative zero? === will lie to you
has-values
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
strnum
Parse String to Number based on configuration
bignumber.js
A library for arbitrary-precision decimal and non-decimal arithmetic
@sagemath/ntl
NTL: A Library for doing Number Theory
pretty-ms
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
micromark-util-decode-numeric-character-reference
micromark utility to decode numeric character references