es-module-lexer
npmv3.0.2TypeScriptLexes ES modules returning their import/export metadata
Safe to adopt
Yes — es-module-lexer scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 2 days ago. 11 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 2 days ago. 11 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 236 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- 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 es-module-lexer 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.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the es-module-lexer README.
import { parse } from 'es-module-lexer/js';Dependencies
Declared by es-module-lexer v3.0.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (10)
Used by
Popular packages that depend on es-module-lexer.
Native-ESM powered web dev build tool
Next generation testing framework powered by Vite
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Vitest module mocker implementation
No description provided.
Relationship graph
Dependencies (left) and dependents (right) of es-module-lexer.
Frequently installed together
TypeScript definitions for node
Native-ESM powered web dev build tool
TypeScript definitions for estree
Leaner CSS
ECMAScript parser
Universal filesystem path utils
Modify strings, generate sourcemaps
Shared Vitest utility functions
🔎 A simple, tiny and lightweight benchmarking library!
A drop-in replacement for fs, making various improvements.
No description provided.
No description provided.
Release history
11 releases in the last two years, typically about 33 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.0.2latest | 2 days ago | 236 KB | MIT |
| 3.0.1 | 3 days ago | 235 KB | MIT |
| 3.0.0 | 3 days ago | 234 KB | MIT |
| 2.3.2 | 24 days ago | 171 KB | MIT |
| 2.3.1 | 2 months ago | 168 KB | MIT |
| 2.3.0 | 2 months ago | 167 KB | MIT |
| 2.2.0 | 2 months ago | 108 KB | MIT |
| 2.1.0 | 4 months ago | 98 KB | MIT |
| 2.0.0 | 9 months ago | 95 KB | MIT |
| 1.7.0 | 1 year ago | 91 KB | MIT |
| 1.6.0 | 1 year ago | 89 KB | MIT |
| 1.5.4 | 2 years ago | 89 KB | MIT |
| 1.5.3 | 2 years ago | 89 KB | MIT |
| 1.5.2 | 2 years ago | 89 KB | MIT |
| 1.5.1 | 2 years ago | 89 KB | MIT |
Overview
es-module-lexer is an npm package that lexes ES modules returning their import/export metadata. It has 5 known dependents in the graph. The latest version is 3.0.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need lexes ES modules returning their import/export metadata 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 es-module-lexer?
Yes — es-module-lexer scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 2 days ago. 11 releases in the last 2 years.
How do I install es-module-lexer?
Run `npm install es-module-lexer` to add es-module-lexer to your npm project.
What license is es-module-lexer released under?
es-module-lexer is distributed under the MIT license.
How popular is es-module-lexer?
npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on es-module-lexer.
Is es-module-lexer still maintained?
The most recent release of es-module-lexer (v3.0.2) was published 2 days ago.
Does es-module-lexer run install scripts?
No. es-module-lexer does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.