ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
☆22Jun 26, 2026Updated 5 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 value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆16Dec 30, 2025Updated 10 months ago
- Is this value a JS regex?☆24Apr 8, 2026Updated 7 months ago
- Is this an ES6 Symbol value?☆19Mar 16, 2026Updated 8 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Dec 30, 2025Updated 10 months ago
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆42Dec 30, 2025Updated 10 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- DES for browserify☆10Dec 21, 2024Updated last year
- getpass for node.js☆18Apr 25, 2017Updated 9 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated last year
- Check if an object can be used like an Array☆18Sep 13, 2025Updated last year
- Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.☆14Sep 25, 2016Updated 10 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 5 years ago
- deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results☆13Apr 11, 2021Updated 5 years ago
- Try to guess if your terminal supports unicode☆19Dec 16, 2020Updated 5 years ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Jan 13, 2026Updated 10 months 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.
- ☆21Oct 18, 2021Updated 5 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14May 6, 2018Updated 8 years ago
- Object.keys shim☆44Mar 17, 2026Updated 8 months ago
- Array.prototype.includes spec-compliant polyfill☆43Sep 11, 2026Updated 2 months ago
- Array#filter for older browsers.☆18Feb 23, 2024Updated 2 years ago
- Removes all separators from the end of a string.☆13Dec 12, 2017Updated 8 years ago
- Right-align the text in a string.☆19May 4, 2018Updated 8 years ago
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆32Dec 18, 2020Updated 5 years ago
- ☆27Dec 7, 2017Updated 8 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 5 years ago
- ☆19Dec 21, 2024Updated last year
- ECMAScript spec abstract operations.☆126Nov 17, 2026Updated last week
- PostCSS helpers to throw or output GNU style messages☆10Jul 2, 2024Updated 2 years ago
- Returns true if a string has an extglob☆24May 25, 2019Updated 7 years ago
- ES6 spec-compliant Function.prototype.name sham.☆12Jun 11, 2026Updated 5 months ago
- The Node.js `util.deprecate()` function with browser support☆38Nov 11, 2018Updated 8 years ago
- A transform to make UglifyJS work in browserify☆20Feb 18, 2020Updated 6 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆16Jul 12, 2026Updated 4 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- ☆19Dec 21, 2024Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆25Jan 21, 2026Updated 10 months ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 4 years ago
- ☆20Oct 19, 2026Updated last month
- process.nextTick always accepts args, always☆34Jun 19, 2019Updated 7 years ago
- abstract base class for hash-streams☆12Sep 23, 2025Updated last year
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆15Oct 8, 2026Updated last month
Are these results useful?