</>PackageGraphPackageGraph

esrap

npmv2.3.7TypeScript

Parse in reverse

Safe to adopt

Yes — esrap scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 5 days ago. 46 releases in the last 2 years.

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

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 5 days ago. 46 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 198 KB installed.

  • ASupply chain: grade A, Excellent.

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

  • 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 esrap to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

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

198 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

MIT

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

Compatibility

Node.js
No constraint declared
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the esrap README.

import { print } from 'esrap';
import ts from 'esrap/languages/ts';

const ast = {
  type: 'Program',
  body: [
    {
      type: 'ExpressionStatement',
      expression: {
        callee: {
          type: 'Identifier',
          name: 'alert'
        },
        arguments: [
Example truncated — see the full README.

Dependencies

Declared by esrap v2.3.7. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on esrap.

Relationship graph

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

Frequently installed together

Release history

45 releases in the last two years, typically about 7 days apart.

Recent versions of esrap
VersionPublishedSizeLicense
2.3.7latest5 days ago104 KBMIT
2.3.619 days ago103 KBMIT
2.3.522 days ago102 KBMIT
2.3.426 days ago100 KBMIT
2.3.327 days ago101 KBMIT
2.3.21 month ago100 KBMIT
2.3.11 month ago98 KBMIT
2.3.01 month ago95 KBMIT
2.2.132 months ago91 KBMIT
2.2.122 months ago86 KBMIT
2.2.113 months ago87 KBMIT
2.2.103 months ago87 KBMIT
2.2.93 months ago86 KBMIT
2.2.84 months ago85 KBMIT
2.2.74 months ago85 KBMIT

Overview

esrap is an npm package that parse in reverse. It has 1 known dependents in the graph. The latest version is 2.3.7, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need parse in reverse and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

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

Maintainers

Frequently asked questions

Should I use esrap?

Yes — esrap scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 5 days ago. 46 releases in the last 2 years.

How do I install esrap?

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

How many dependencies does esrap have?

esrap declares 14 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 198 KB on disk.

What license is esrap released under?

esrap is distributed under the MIT license.

How popular is esrap?

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

Is esrap still maintained?

The most recent release of esrap (v2.3.7) was published 5 days ago.

Does esrap run install scripts?

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