Need help with is-esm?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mgechev
155 Stars 2 Forks 4 Commits 1 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 2,248
TypeScr...
rollup
aot-com...
angular...
4 commits

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.