</>PackageGraphPackageGraph

functions-have-names

npmv1.2.3

Does this JS environment support the `name` property on functions?

Not recommended for new projects

No — functions-have-names should not be adopted for new projects. Last published 1604 days ago.

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

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1604 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 16 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • 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 functions-have-names 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.

16 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 functions-have-names README.

var functionsHaveNames = require('functions-have-names');
var assert = require('assert');

assert.equal(functionsHaveNames(), true); // will be `false` in IE 6-8

functions-have-names vs the alternatives

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

PackageWeekly downloadsDependentsLicenseLast release
functions-have-namesthis page05MIT4 years ago
set-function-name01MIT1 day ago
function-bind05MIT1 day ago
callsites136.7M1MIT1 day ago
once109.6M1ISC1 day ago
reusify91M1MIT1 day ago

Dependencies

Declared by functions-have-names v1.2.3. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (7)

@ljharb/eslint-config ^21.0.0aud ^2.0.0auto-changelog ^2.4.0eslint =8.8.0nyc ^10.3.2safe-publish-latest ^2.0.0tape ^5.5.3

Used by

Popular packages that depend on functions-have-names.

Relationship graph

Dependencies (left) and dependents (right) of functions-have-names.

Frequently installed together

Release history

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

Recent versions of functions-have-names
VersionPublishedSizeLicense
1.2.3latest4 years ago16 KBMIT
1.2.25 years ago13 KBMIT
1.2.16 years ago10 KBMIT
1.2.06 years ago18 KBMIT
1.1.17 years ago16 KBMIT
1.1.07 years ago16 KBMIT
1.0.07 years ago14 KBMIT

Overview

functions-have-names is an npm package that does this JS environment support the `name` property on functions?. It has 5 known dependents in the graph. The latest version is 1.2.3, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need does this JS environment support the `name` property on functions? 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 functions-have-names?

No — functions-have-names should not be adopted for new projects. Last published 1604 days ago.

How do I install functions-have-names?

Run `npm install functions-have-names` to add functions-have-names to your npm project.

What license is functions-have-names released under?

functions-have-names is distributed under the MIT license.

How popular is functions-have-names?

npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on functions-have-names.

Is functions-have-names still maintained?

The most recent release of functions-have-names (v1.2.3) was published 4 years ago.

Does functions-have-names run install scripts?

No. functions-have-names does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.