function-bind <sup>Version Badge</sup>

github actions <!--coverage--> dependency status dev dependency status License Downloads

npm badge

Implementation of function.prototype.bind

Old versions of phantomjs, Internet Explorer < 9, and node < 0.6 don't support Function.prototype.bind.

Example

Function.prototype.bind = require("function-bind")

Installation

npm install function-bind

Contributors

MIT Licenced

function-bind - Installation

To install function-bind via this registry, you'll need to install via the --registry parameter with your package manager.

n

NPM

npm install function-bind --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Yarn

yarn config set registry https://js.registry.sudovanilla.org
yarn install function-bind

Learn more about the config option.

PNPM

pnpm install function-bind --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Bun Logo

Bun

bun install function-bind --registry https://js.registry.sudovanilla.org

Learn more about the --registry parameter.

Learn more about setting this up in your bunfig.toml configuration.


For Deno, add the following to your .npmrc file in your directory:

registry="https://js.registry.sudovanilla.org"

Then run the deno install command.

function-bind - Download

Download Tarball (v1.1.2)

Integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==
SHASUM 2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c
Tarball https://js.registry.sudovanilla.org/function-bind/-/function-bind-1.1.2.tgz