ljharb / es-to-primitive
ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.
☆22Updated 3 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
- Is this an ES6 Symbol value?☆19Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 7 months ago
- List of node.js builtin modules☆38Updated 11 months ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- timers module for browserify☆24Updated 3 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Find the module object for something that was require()d☆27Updated last year
- Object.keys shim☆45Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- Unpipe a stream from all destinations☆23Updated 4 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 years ago
- ☆27Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Returns true if a string has an extglob☆23Updated 5 years ago
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Updated 6 years ago
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆41Updated 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…☆30Updated 4 years ago
- A list of directories you should ignore by default☆23Updated 2 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
- Node.js path.dirname() ponyfill☆13Updated 3 years ago
- Modern Buffer API polyfill without footguns☆25Updated 3 years ago
- Repeat a string - fast☆34Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Center-align the text in a string.☆23Updated 7 years ago