functions-have-names
npmv1.2.3Does this JS environment support the `name` property on functions?
Overview
functions-have-names is an npm package that does this JS environment support the `name` property on functions?. 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.
Relationship graph
Dependencies (left) and dependents (right) of functions-have-names.
Dependencies
Dev (7)
Used by
Popular packages that depend on functions-have-names.
Node's event emitter for all engines.
string representations of objects in node and the browser
ES6 spec-compliant RegExp.prototype.flags shim.
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Set a function's name property
Alternatives to functions-have-names
Implementation of Function.prototype.bind
Set a function's name property
Run a function exactly one time
Define a lazily evaluated property on an object
Validates whether a string matches the production for an XML name or qualified name
Give me a string and I'll tell you if it's a valid npm package name
Reuse objects and functions with style
Robustly `.call.bind()` a function
Matches strings against configurable strings, globs, regular expressions, and/or functions
Module that helps you write generated functions in Node
Set a function's length property
Get callsites from the V8 stack trace API
Frequently installed together
An AST-based pattern checker for JavaScript.
Robustly `.call.bind()` a function
string representations of objects in node and the browser
A simple cache for a few of the JS Error constructors.
The semantic version parser used by npm.
Array#isArray for older browsers
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Set a function's name property
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
A robust, ES3 compatible, "has own property" predicate.
the most correct and second fastest glob implementation in JavaScript
Modern Buffer API polyfill without footguns
Version history
| Version | Published | License |
|---|---|---|
| 1.2.3latest | 4 years ago | MIT |
| 1.2.2 | 5 years ago | MIT |
| 1.2.1 | 6 years ago | MIT |
| 1.2.0 | 6 years ago | MIT |
| 1.1.1 | 7 years ago | MIT |
| 1.1.0 | 7 years ago | MIT |
| 1.0.0 | 7 years ago | MIT |
Maintainers
Funding
Frequently asked questions
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?
functions-have-names has approximately 0 downloads per week and 5 known dependent packages.