set-function-name
npmv2.0.2TypeScriptSet a function's name property
Overview
set-function-name is an npm package that set a function's name property. The latest version is 2.0.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need set a function's name property and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (35 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of set-function-name.
Dependencies
Runtime (4)
Dev (31)
Used by
Popular packages that depend on set-function-name.
Alternatives to set-function-name
Set a function's length property
Run a function exactly one time
Parses set-cookie headers into objects
Module that helps you write generated functions in Node
{G,S}et object values using MongoDB-like path notation
Robustly `.call.bind()` a function
Matches strings against configurable strings, globs, regular expressions, and/or functions
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Get callsites from the V8 stack trace API
Check if something is a generator function
Frequently installed together
An AST-based pattern checker for JavaScript.
A robust, ES3 compatible, "has own property" predicate.
A simple cache for a few of the JS Error constructors.
string representations of objects in node and the browser
Robustly `.call.bind()` a function
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Version history
| Version | Published | License |
|---|---|---|
| 2.0.2latest | 2 years ago | MIT |
| 2.0.1 | 2 years ago | MIT |
| 2.0.0 | 2 years ago | MIT |
| 1.0.0 | 8 years ago | ISC |
Frequently asked questions
How do I install set-function-name?
Run `npm install set-function-name` to add set-function-name to your npm project.
What license is set-function-name released under?
set-function-name is distributed under the MIT license.
How popular is set-function-name?
set-function-name has approximately 0 downloads per week and 1 known dependent packages.