generate-function
npmv2.3.1Module that helps you write generated functions in Node
Overview
generate-function is an npm package that module that helps you write generated functions in Node. It is extremely widely used, with about 13M downloads per week and 1 known dependents in the graph. The latest version is 2.3.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need module that helps you write generated functions in Node and value a battle-tested, widely-adopted 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
- Large, well-established user base (13M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
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 generate-function.
Dependencies
Runtime (1)
Dev (1)
Used by
Popular packages that depend on generate-function.
Alternatives to generate-function
Frequently installed together
TypeScript definitions for node
Prettier is an opinionated code formatter
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
A Long class for representing a 64-bit two's-complement integer value.
The fastest javascript implementation of a double-ended queue. Used by the official Redis, MongoDB, MariaDB & MySQL libraries for Node.js and many other libraries. Maintains compatability with deque.
sql named placeholders to unnamed compiler
AWS RDS SSL certificates bundles.
🛡️ Faster SQL escape and format for JavaScript (Node.js, Bun, and Deno).
Convert character encodings in pure javascript.
Version history
| Version | Published | License |
|---|---|---|
| 2.3.1latest | 7 years ago | MIT |
| 2.3.0 | 7 years ago | MIT |
| 2.2.1 | 7 years ago | MIT |
| 2.2.0 | 8 years ago | MIT |
| 2.0.0 | 12 years ago | MIT |
| 1.1.0 | 12 years ago | MIT |
| 1.0.3 | 12 years ago | MIT |
| 1.0.2 | 12 years ago | MIT |
| 1.0.1 | 12 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
| 0.0.0 | 12 years ago | MIT |
Maintainers
Frequently asked questions
How do I install generate-function?
Run `npm install generate-function` to add generate-function to your npm project.
What license is generate-function released under?
generate-function is distributed under the MIT license.
How popular is generate-function?
generate-function has approximately 13,028,416 downloads per week and 1 known dependent packages.