es-main

npmv1.4.0

Test if an ES module is run directly (require.main replacement)

License MITpermissive8 versions1 maintainers0 deps
git://github.com/tschaub/es-main
49
/ 100
Health
safe to use

[email protected] is safe to use (health: 49/100)

Health breakdown0 – 100
10/25
maintenance
0/20
popularity
25/25
security
12/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/es-main

First published · 2020-02-19T23:12:47.894Z

Last updated · 2025-08-10T14:16:33.121Z