Search results

1000+ packages found

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`

published version 7.1.1, a year ago2539 dependents licensed under $MIT
389,358,673

Get the native type of a value.

published version 6.0.3, 5 years ago2149 dependents licensed under $MIT
508,793,427

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

published version 5.0.1, 6 years ago2490 dependents licensed under $MIT
357,473,866

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.

published version 3.0.3, a year ago2685 dependents licensed under $MIT
391,058,764

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

published version 7.0.0, 7 years ago2896 dependents licensed under $MIT
409,999,292

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

published version 1.3.0, 7 months ago1378 dependents licensed under $MIT
178,701,930

An arbitrary-precision Decimal type for JavaScript.

published version 10.5.0, 5 months ago3360 dependents licensed under $MIT
116,731,261

A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic

published version 7.0.1, 2 months ago7416 dependents licensed under $MIT
104,028,831

Is this value negative zero? === will lie to you

published version 2.0.3, a year ago1431 dependents licensed under $MIT
114,191,394

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

published version 2.0.2, 7 years ago855 dependents licensed under $MIT
110,520,398

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

published version 2.0.1, 7 years ago818 dependents licensed under $MIT
110,907,090

Parse String to Number based on configuration

published version 2.1.1, a month ago225 dependents licensed under $MIT
98,331,405

A library for arbitrary-precision decimal and non-decimal arithmetic

published version 9.3.0, 2 months ago8782 dependents licensed under $MIT
73,835,003

micromark utility to decode numeric character references

published version 2.0.2, 7 months ago28 dependents licensed under $MIT
40,555,810

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

published version 9.2.0, 7 months ago1334 dependents licensed under $MIT
36,510,421

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript

published version 1.12.9, 10 days ago2413 dependents licensed under $MIT
34,609,558

ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.

published version 1.3.2, 4 years ago81 dependents licensed under $MIT
32,260,581

An arbitrary-precision Decimal type for JavaScript.

published version 2.5.1, 5 years ago5005 dependents licensed under $MIT
29,499,063

Isomorphic, functional type-checking for Javascript

published version 7.3.0, 7 months ago76 dependents licensed under $MIT
26,909,946

Convert number to fraction

published version 1.2.2, 10 years ago134 dependents licensed under $MIT
21,331,255