Search results

1000+ packages found

Get the native type of a value.

published version 6.0.3, 5 years ago2058 dependents licensed under $MIT
641,804,050

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, 7 months ago2430 dependents licensed under $MIT
359,835,766

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, 7 months ago2570 dependents licensed under $MIT
364,321,829

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, 6 years ago2784 dependents licensed under $MIT
369,075,523

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 ago2380 dependents licensed under $MIT
296,432,145

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

published version 1.3.0, 17 days ago1337 dependents licensed under $MIT
153,233,894

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

published version 2.0.3, 10 months ago1419 dependents licensed under $MIT
149,492,839

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 ago817 dependents licensed under $MIT
119,778,739

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

published version 2.0.2, 7 years ago853 dependents licensed under $MIT
119,508,983

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

published version 6.2.2, 3 months ago7111 dependents licensed under $MIT
96,444,706

An arbitrary-precision Decimal type for JavaScript.

published version 10.4.3, 2 years ago2975 dependents licensed under $MIT
91,927,594

Parse String to Number based on configuration

published version 1.0.5, 3 years ago210 dependents licensed under $MIT
72,663,676

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

published version 9.1.2, a year ago8244 dependents licensed under $MIT
57,983,012

micromark utility to decode numeric character references

published version 2.0.2, a month ago23 dependents licensed under $MIT
29,019,086

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

published version 1.3.2, 4 years ago76 dependents licensed under $MIT
27,308,477

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

published version 1.11.16, 10 days ago2046 dependents licensed under $MIT
28,781,506

Isomorphic, functional type-checking for Javascript

published version 7.3.0, a month ago75 dependents licensed under $MIT
21,767,302

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

published version 9.2.0, a month ago1271 dependents licensed under $MIT
28,352,819

Convert number to fraction

published version 1.2.2, 9 years ago134 dependents licensed under $MIT
20,563,267

Returns `true` if the value is a primitive.

published version 3.0.1, 7 years ago256 dependents licensed under $MIT
17,263,309