ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
☆22Jun 26, 2026Updated 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. 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 5 months ago
- Is this value a JS regex?☆24Apr 8, 2026Updated 4 months ago
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆42Dec 30, 2025Updated 7 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated 7 months ago
- Object.keys shim☆46Mar 17, 2026Updated 5 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Jan 13, 2026Updated 7 months ago
- ECMAScript spec abstract operations.☆124Jun 26, 2026Updated last month
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Jul 12, 2026Updated last month
- Get an ArrayBuffer from a Buffer as fast as possible☆20Jul 9, 2021Updated 5 years ago
- ☆11Apr 15, 2023Updated 3 years ago
- Array.prototype.includes spec-compliant polyfill☆43Updated this week
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 9 months ago
- getpass for node.js☆18Apr 25, 2017Updated 9 years ago
- abstract base class for hash-streams☆11Sep 23, 2025Updated 10 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆18Apr 29, 2026Updated 3 months ago
- ☆19Apr 11, 2018Updated 8 years ago
- ☆19Dec 21, 2024Updated last year
- the tty module from node core for browsers☆18Dec 21, 2024Updated last year
- Search & replace tokens during the linking stage of ICSS loading☆22Jan 6, 2023Updated 3 years ago
- character encoding utilities in node.js☆16Sep 3, 2018Updated 7 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- Array#filter for older browsers.☆18Feb 23, 2024Updated 2 years ago
- 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
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Returns true if a string has an extglob☆23May 25, 2019Updated 7 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Dec 30, 2025Updated 7 months ago
- Check if a path is the current working directory☆22May 10, 2025Updated last year
- normalize a ranged value that wraps. ( i.e. angular range [0-360), where 400 === 40 and -20 === 340)☆18Jul 21, 2026Updated 3 weeks ago
- ☆19Dec 21, 2024Updated last year
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆22Dec 30, 2025Updated 7 months ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 4 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Deceive HTTP Parser☆18Sep 18, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 5 years ago
- timers module for browserify☆24Dec 21, 2024Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Validates whether a string matches the production for an XML name or qualified name☆15Nov 12, 2023Updated 2 years ago
- ☆26Dec 7, 2017Updated 8 years ago
- ☆20Sep 24, 2025Updated 10 months ago