Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Get the native type of a value.
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`
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.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
- bash
- date
- expand
- expansion
- expression
- glob
- match
- match date
- match number
- match numbers
- match year
- matches
- matching
- number
- View more
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
- primitive
- abstract
- ecmascript
- es5
- es6
- es2015
- toPrimitive
- coerce
- type
- object
- string
- number
- boolean
- symbol
- View more
Is this value negative zero? === will lie to you
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic
An arbitrary-precision Decimal type for JavaScript.
Parse String to Number based on configuration
A library for arbitrary-precision decimal and non-decimal arithmetic
micromark utility to decode numeric character references
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
Isomorphic, functional type-checking for Javascript
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
- pretty
- prettify
- human
- humanize
- humanized
- readable
- time
- ms
- milliseconds
- duration
- period
- range
- text
- string
- View more
Convert number to fraction
Returns `true` if the value is a primitive.