</>PackageGraphPackageGraph

escodegen

npmv2.1.0

ECMAScript code generator

Not recommended for new projects

No — escodegen should not be adopted for new projects. Last published 1168 days ago.

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

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1168 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 4 transitive packages, about 680 KB installed.

  • ASupply chain: grade A, Excellent.

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

  • ALicense: grade A, Excellent.

    BSD-2-Clause — 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 escodegen to a project.

4
Direct dependencies

Runtime packages this one declares itself.

4
Total installed

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

680 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

BSD-2-ClauseBSD-3-Clause

Every license you inherit by installing escodegen, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=6.0
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Dependencies

Declared by escodegen v2.1.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (12)

acorn ^8.0.4bluebird ^3.4.7bower-registry-client ^1.0.0chai ^4.2.0chai-exclude ^2.0.2commonjs-everywhere ^0.9.7gulp ^4.0.2gulp-eslint ^6.0.0gulp-mocha ^7.0.2minimist ^1.2.5optionator ^0.9.1semver ^7.3.4

Used by

Popular packages that depend on escodegen.

Relationship graph

Dependencies (left) and dependents (right) of escodegen.

Frequently installed together

Release history

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

Recent versions of escodegen
VersionPublishedSizeLicense
2.1.0latest3 years ago106 KBBSD-2-Clause
2.0.06 years ago105 KBBSD-2-Clause
1.14.36 years ago105 KBBSD-2-Clause
1.14.26 years ago105 KBBSD-2-Clause
1.14.16 years ago104 KBBSD-2-Clause
1.14.06 years ago104 KBBSD-2-Clause
1.13.06 years ago104 KBBSD-2-Clause
1.12.16 years ago104 KBBSD-2-Clause
1.12.07 years ago104 KBBSD-2-Clause
1.11.17 years ago104 KBBSD-2-Clause
1.11.08 years ago104 KBBSD-2-Clause
1.10.08 years ago104 KBBSD-2-Clause
1.9.18 years ago103 KBBSD-2-Clause
1.9.09 years agoBSD-2-Clause
1.8.110 years agoBSD-2-Clause

Overview

escodegen is an npm package that eCMAScript code generator. It has 1 known dependents in the graph. The latest version is 2.1.0, released under the BSD-2-Clause license.

Who should use it

Teams working in the npm ecosystem who need eCMAScript code generator and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, 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 (BSD-2-Clause).

Cons

  • Large dependency tree (17 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

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

Maintainers

Frequently asked questions

Should I use escodegen?

No — escodegen should not be adopted for new projects. Last published 1168 days ago.

How do I install escodegen?

Run `npm install escodegen` to add escodegen to your npm project.

How many dependencies does escodegen have?

escodegen declares 17 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 680 KB on disk.

What license is escodegen released under?

escodegen is distributed under the BSD-2-Clause license. Its dependency tree also includes: BSD-2-Clause, BSD-3-Clause.

How popular is escodegen?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on escodegen.

Is escodegen still maintained?

The most recent release of escodegen (v2.1.0) was published 3 years ago.

Does escodegen run install scripts?

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