Search results

1000+ packages found

Get the native type of a value.

published version 6.0.3, 5 years ago2069 dependents licensed under $MIT
341,673,810

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 ago2452 dependents licensed under $MIT
249,845,576

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 ago2591 dependents licensed under $MIT
250,838,131

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 ago2402 dependents licensed under $MIT
224,267,592

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 ago2807 dependents licensed under $MIT
259,190,836

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

published version 1.3.0, a month ago1345 dependents licensed under $MIT
112,916,089

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

published version 2.0.3, 10 months ago1423 dependents licensed under $MIT
108,181,025

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

published version 6.2.2, 4 months ago7147 dependents licensed under $MIT
74,272,247

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
76,314,512

An arbitrary-precision Decimal type for JavaScript.

published version 10.4.3, 2 years ago3009 dependents licensed under $MIT
70,913,885

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 ago819 dependents licensed under $MIT
73,765,423

Parse String to Number based on configuration

published version 1.0.5, 3 years ago212 dependents licensed under $MIT
59,071,214

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

published version 9.1.2, a year ago8297 dependents licensed under $MIT
49,187,024

micromark utility to decode numeric character references

published version 2.0.2, 2 months ago23 dependents licensed under $MIT
24,796,932

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

published version 1.3.2, 4 years ago78 dependents licensed under $MIT
22,288,017

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

published version 1.11.17, 16 days ago2147 dependents licensed under $MIT
23,557,338

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

published version 9.2.0, 2 months ago1278 dependents licensed under $MIT
23,193,732

Isomorphic, functional type-checking for Javascript

published version 7.3.0, 2 months ago75 dependents licensed under $MIT
16,646,146

Convert number to fraction

published version 1.2.2, 9 years ago134 dependents licensed under $MIT
15,367,913

Check if a value is a natural number

published version 4.0.1, 9 years ago39 dependents licensed under $MIT
10,296,940