</>PackageGraphPackageGraph

function-bind

npmv1.1.2

Implementation of Function.prototype.bind

Adopt with care

function-bind is usable, with caveats. Last published 1063 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 1063 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 31 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding function-bind to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

31 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the function-bind README.

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

function-bind vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
function-bindthis page05MIT2 years ago
call-bind80.7M5MIT1 day ago
functions-have-names05MIT1 day ago
call-bound07MIT1 day ago
callsites136.7M1MIT1 day ago
once109.6M1ISC1 day ago

Dependencies

Declared by function-bind v1.1.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (9)

@ljharb/eslint-config ^21.1.0aud ^2.0.3auto-changelog ^2.4.0eslint =8.8.0in-publish ^2.0.1npmignore ^0.3.0nyc ^10.3.2safe-publish-latest ^2.0.0tape ^5.7.1

Used by

Popular packages that depend on function-bind.

Relationship graph

Dependencies (left) and dependents (right) of function-bind.

Frequently installed together

Release history

No releases in the last two years, typically about 497 days apart.

Recent versions of function-bind
VersionPublishedSizeLicense
1.1.2latest2 years ago31 KBMIT
1.1.19 years agoMIT
1.1.010 years agoMIT
1.0.212 years agoMIT
1.0.012 years agoMIT
0.1.013 years agoMIT

Overview

function-bind is an npm package that implementation of Function.prototype.bind. It has 5 known dependents in the graph. The latest version is 1.1.2, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need implementation of Function.prototype.bind and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use function-bind?

function-bind is usable, with caveats. Last published 1063 days ago.

How do I install function-bind?

Run `npm install function-bind` to add function-bind to your npm project.

What license is function-bind released under?

function-bind is distributed under the MIT license.

How popular is function-bind?

npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on function-bind.

Is function-bind still maintained?

The most recent release of function-bind (v1.1.2) was published 2 years ago.

Does function-bind run install scripts?

No. function-bind does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.