Search results
5970 packages found
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 a JS Number object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Parse String to Number based on configuration
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
Get the native type of a value.
Simply check if your array, object, nested stuff, string, number, etc are empty or not.
Parse JSON without risk of losing numeric information
Makes working with strings easy and also provide uuid.
- npm
- string
- number
- string transformation
- string transformations
- string manipulator
- string formatter
- string format
- string manupulation
- string manupulations
- uuid
Easy to use, Symbol-based enum implementation
Contains some util methods for converting numbers into words, ordinal words and ordinal numbers.
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
A collection of more than 60 often used utility JS functions that simplify frontend development.
- utils
- utilities
- utility
- custom events
- cookies
- object
- css variables
- FormData
- parse html
- deep merge
- string
- json
- number
- array
- View more
Basic, Convenient and Optimized, an ansi-based string colorizer.
- string
- symbol
- number
- color
- chalk
- colorette
- colorizer
- string colorizer
- javascript
- terminal
- AnsiColorization
- ansi
- hex
- rgb
Use Extension makes js easier by taking the hassle out of working with array, numbers, objects, string, etc, by bringing powerful methods on this data types prototype
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
Compress a string contains only number character.
zero dependencies vanilla JavaScript utils.
This package helps to convert any type to buffer and buffer to any type, with 0 dependencies. <br /> Why the package name is <mark>from-buffer-to</mark> ?<br /> **from buffer to any**<br /> **buffer to any**
- from
- buffer
- to
- string
- strings
- number
- numbers
- any
- uint8array
- array-buffer
- shared-array-buffer
- stream
- readable
- writable
- View more
Utility types for TypeScript