ljharb / es-to-primitive
ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
☆22Updated 6 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
Sorting:
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 9 months ago
- Is this an ES6 Symbol value?☆19Updated 5 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- timers module for browserify☆24Updated 5 months ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- List of node.js builtin modules☆38Updated last year
- Returns true if a string has an extglob☆23Updated 6 years ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆16Updated 5 months ago
- Object.keys shim☆45Updated last month
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- ☆27Updated 4 years ago
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆30Updated 4 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Updated 6 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated last year
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- Find the module object for something that was require()d☆27Updated 2 years ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆16Updated 5 months ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 11 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Unpipe a stream from all destinations☆23Updated 4 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Check if a file path is a binary file☆44Updated last year
- Modern Buffer API polyfill without footguns☆25Updated 4 years ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Updated last year
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 8 years ago
- Create an array by repeating the given string n times.☆19Updated 4 years ago