ljharb

ljharb/call-bind

Robustly `.call.bind()` a function.

JavaScript
12
7
MIT License

call-bind is a JavaScript library that provides a robust implementation of `.call.bind()` for functions, allowing developers to bind the `this` context and arguments to a function in a reliable way. It's particularly useful for developers working with polyfills or in environments where native `Function.prototype.call` or `Function.prototype.bind` may be missing or unreliable. The library is designed for use in Node.js and browser environments, and is commonly used in JavaScript utility libraries and frameworks that require consistent function binding behavior across different JavaScript engines.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of ljharb/call-bind

Account's avatar
Helper functions around Function call/apply/bind, for use in `call-bind`
Account's avatar
`Object.defineProperty`, but not IE 8's broken one.
Account's avatar
Get and robustly cache all JS language-level intrinsics at first require time
Account's avatar
Set a function's length property
Account's avatar
My shareable eslint config
Account's avatar
Command line tool for generating a changelog from git tags and commit history
Account's avatar
Convert encodings, uses iconv-lite
Account's avatar
Fixtures of ES values, for testing purposes
Account's avatar
Evaluates javascript code blocks from markdown files.
Account's avatar
A better forEach
Account's avatar
Does the current JS environment have strict mode? ES5+ should; but let's not assume.
Account's avatar
Detect if we were run as a result of `npm publish`
Account's avatar
Command line tool for creating or updating a .npmignore file based on .gitignore.
Account's avatar
the Istanbul command line interface
Account's avatar
string representations of objects in node and the browser
Account's avatar
Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.
Account's avatar
tap-producing test harness for node and browsers

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
72 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet