Packages by ljharb
Packages maintained by ljharb.
46 packages
ES Math-related intrinsics and helpers, robustly cached.
`Object.defineProperty`, but not IE 8's broken one.
Get and validate the raw body of a readable stream.
Robustly `.call.bind()` a function
ES spec-like internal slots
Store information about any JS value in a side channel. Uses WeakMap if available.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Port of jQuery.extend for node.js and the browser
Determine if the current node version supports the `--preserve-symlinks` flag.
Is this an arguments object? It's a harder question than you think.
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Koa web app framework
Is this value an ES BigInt?
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
A helper to optimistically set Symbol.toStringTag, when possible.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Set a function's length property
Helper functions around Function call/apply/bind, for use in `call-bind`
A robust, ES3 compatible, "has own property" predicate.
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
ES6 spec-compliant RegExp.prototype.flags shim.
Which kind of boxed JS primitive is this?
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Implementation of Function.prototype.bind
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Is this value a JS SharedArrayBuffer?
Set a function's name property
Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
ES Object-related atoms: Object, ToObject, RequireObjectCoercible