esrap
npmv2.3.7TypeScriptParse 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
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: [Dependencies
Declared by esrap v2.3.7. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Peer (1)
Dev (12)
Used by
Popular packages that depend on esrap.
Relationship graph
Dependencies (left) and dependents (right) of esrap.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
ECMAScript parser
TypeScript definitions for estree
Next generation testing framework powered by Vite
Programmatic access to information about the AXObject Model
Uses export conditions to return environment information in a way that works with major bundlers and runtimes.
Determine whether an AST node is a reference
Acorn plugin that parses TypeScript
TypeScript definitions for trusted-types
A tiny (239B) utility for constructing className strings conditionally.
A tool for walking ASTs
Get the line and column number of a specific character in a string
Release history
45 releases in the last two years, typically about 7 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.3.7latest | 5 days ago | 104 KB | MIT |
| 2.3.6 | 19 days ago | 103 KB | MIT |
| 2.3.5 | 22 days ago | 102 KB | MIT |
| 2.3.4 | 26 days ago | 100 KB | MIT |
| 2.3.3 | 27 days ago | 101 KB | MIT |
| 2.3.2 | 1 month ago | 100 KB | MIT |
| 2.3.1 | 1 month ago | 98 KB | MIT |
| 2.3.0 | 1 month ago | 95 KB | MIT |
| 2.2.13 | 2 months ago | 91 KB | MIT |
| 2.2.12 | 2 months ago | 86 KB | MIT |
| 2.2.11 | 3 months ago | 87 KB | MIT |
| 2.2.10 | 3 months ago | 87 KB | MIT |
| 2.2.9 | 3 months ago | 86 KB | MIT |
| 2.2.8 | 4 months ago | 85 KB | MIT |
| 2.2.7 | 4 months ago | 85 KB | MIT |
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.