ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
☆22Dec 30, 2025Updated 2 months ago
Alternatives and similar repositories for es-to-primitive
Users that are interested in es-to-primitive are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Is this an ES6 Symbol value?☆19Mar 16, 2026Updated last week
- Is this value a JS regex?☆24Mar 20, 2026Updated last week
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆42Dec 30, 2025Updated 2 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated 2 months ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Jan 13, 2026Updated 2 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Object.keys shim☆46Mar 17, 2026Updated last week
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Mar 16, 2026Updated last week
- ECMAScript spec abstract operations.☆123Dec 31, 2025Updated 2 months ago
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 4 years ago
- Array.prototype.includes spec-compliant polyfill☆43Dec 30, 2025Updated 2 months ago
- Manipulate strings according to the word parsing rules of the UNIX Bourne shell.☆40Jul 11, 2025Updated 8 months ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 5 months ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆18Dec 30, 2025Updated 2 months ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 6 months ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- getpass for node.js☆17Apr 25, 2017Updated 8 years 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
- ☆19Dec 21, 2024Updated last year
- Search & replace tokens during the linking stage of ICSS loading☆22Jan 6, 2023Updated 3 years ago
- Array#filter for older browsers.☆18Feb 23, 2024Updated 2 years ago
- ☆19Apr 11, 2018Updated 7 years ago
- the tty module from node core for browsers☆18Dec 21, 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
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- 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
- Returns true if a string has an extglob☆23May 25, 2019Updated 6 years ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆22Dec 30, 2025Updated 2 months ago
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Mar 14, 2022Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Dec 30, 2025Updated 2 months ago
- ☆27Apr 5, 2021Updated 4 years ago
- ☆19Dec 21, 2024Updated last year
- ES6 spec-compliant Function.prototype.name sham.☆12Dec 20, 2024Updated last year
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Check if a path is the current working directory☆22May 10, 2025Updated 10 months ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 3 years ago
- Deceive HTTP Parser☆17Sep 18, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Validates whether a string matches the production for an XML name or qualified name☆15Nov 12, 2023Updated 2 years ago
- dead-simple optimistic async helper in javascript☆15Nov 23, 2014Updated 11 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago