ljharb / es-to-primitiveView external linksLinks
ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
☆22Dec 30, 2025Updated last month
Alternatives and similar repositories for es-to-primitive
Users that are interested in es-to-primitive are comparing it to the libraries listed below
Sorting:
- Is this an ES6 Symbol value?☆19Dec 30, 2025Updated last month
- Is this value a JS regex?☆24Dec 30, 2025Updated last month
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated last month
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆42Dec 30, 2025Updated last month
- Manipulate strings according to the word parsing rules of the UNIX Bourne shell.☆40Jul 11, 2025Updated 7 months ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Nov 26, 2018Updated 7 years ago
- ☆11Apr 15, 2023Updated 2 years ago
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 4 years ago
- Array#filter for older browsers.☆18Feb 23, 2024Updated last year
- abstract base class for hash-streams☆11Sep 23, 2025Updated 4 months ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Dec 30, 2025Updated last month
- ☆19Apr 11, 2018Updated 7 years ago
- Search & replace tokens during the linking stage of ICSS loading☆22Jan 6, 2023Updated 3 years ago
- dead-simple optimistic async helper in javascript☆15Nov 23, 2014Updated 11 years ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆18Dec 30, 2025Updated last month
- ☆19Dec 21, 2024Updated last year
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 3 months ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- the tty module from node core for browsers☆18Dec 21, 2024Updated last year
- Validates whether a string matches the production for an XML name or qualified name☆15Nov 12, 2023Updated 2 years ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆22Dec 30, 2025Updated last month
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Mar 14, 2022Updated 3 years ago
- getpass for node.js☆17Apr 25, 2017Updated 8 years ago
- Object.keys shim☆46Dec 30, 2025Updated last month
- ☆27Apr 5, 2021Updated 4 years ago
- Promises of copies of files, directories and symlinks, with concurrency controls and win32 junction fallback.☆19Feb 14, 2022Updated 4 years ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 3 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- ☆19Dec 21, 2024Updated last year
- The Thing when you need it☆19Mar 15, 2024Updated last year
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆31Dec 18, 2020Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Dec 30, 2025Updated last month
- Right-align the text in a string.☆19May 4, 2018Updated 7 years ago
- node.js through stream that emits a unique stream of objects based on criteria☆25Jan 27, 2026Updated 3 weeks ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- ECMAScript spec abstract operations.☆122Dec 31, 2025Updated last month
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- schema package for HTTPArchive (HAR)☆22Jun 4, 2020Updated 5 years ago