Skip to content
/ is-esm Public

🌳 CLI tool which checks if a package is distributed in ECMAScript module format. Helps you reason if the package is tree-shakable.

Notifications You must be signed in to change notification settings

mgechev/is-esm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-esm

This package tells you if an npm module uses ECMAScript modules or not.

Why do I need to know?

ECMAScript modules are statically analyzable. This helps bundlers and JavaScript optimizers to get rid of the unused exports and ultimately make your bundles smaller.

You can read more about this here.

How to use it?

To use is-esm:

$ npx is-esm @angular/core 8.0.0
$ ✔ Yes
$ npx is-esm moment
$ ✖ No

License

MIT

About

🌳 CLI tool which checks if a package is distributed in ECMAScript module format. Helps you reason if the package is tree-shakable.

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published