Search results

1000+ packages found

Get the native type of a value.

published version 6.0.3, 6 years ago1965 dependents licensed under $MIT
621,203,895

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 ago2361 dependents licensed under $MIT
442,233,821

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 ago2304 dependents licensed under $MIT
402,748,323

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 ago2507 dependents licensed under $MIT
444,976,416

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 ago2719 dependents licensed under $MIT
476,267,032

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

published version 1.3.0, 8 months ago1233 dependents licensed under $MIT
201,921,159

An arbitrary-precision Decimal type for JavaScript.

published version 10.6.0, 16 days ago3252 dependents licensed under $MIT
129,271,632

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

published version 2.0.3, a year ago1260 dependents licensed under $MIT
153,380,987

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

published version 2.0.2, 7 years ago700 dependents licensed under $MIT
136,031,982

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

published version 7.0.1, 3 months ago7161 dependents licensed under $MIT
113,327,990

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 ago662 dependents licensed under $MIT
136,352,539

Parse String to Number based on configuration

published version 2.1.1, 2 months ago219 dependents licensed under $MIT
103,957,231

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

published version 9.3.1, 11 days ago8439 dependents licensed under $MIT
77,497,491

micromark utility to decode numeric character references

published version 2.0.2, 8 months ago23 dependents licensed under $MIT
43,546,148

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

published version 9.2.0, 8 months ago1283 dependents licensed under $MIT
39,436,973

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

published version 1.12.10, 9 days ago2532 dependents licensed under $MIT
34,656,814

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

published version 1.3.2, 5 years ago83 dependents licensed under $MIT
31,566,591

An arbitrary-precision Decimal type for JavaScript.

published version 2.5.1, 5 years ago4941 dependents licensed under $MIT
33,752,525

Isomorphic, functional type-checking for Javascript

published version 7.3.0, 8 months ago70 dependents licensed under $MIT
27,839,779

Convert number to fraction

published version 1.2.2, 10 years ago97 dependents licensed under $MIT
25,944,302