environment

npmv1.1.0

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

License MITpermissive4 versions1 maintainers0 deps25,055,164 weekly dl
sindresorhus/environment
67
/ 100
Health
safe to use

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

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

Bundle & TypeScript

📦

Bundle Size

1.8 KBminified
0.6 KB gzipped
0 direct dependencies
🌟

TypeScript

10/10typed
bundled
Quality signals
Download trend
stable(+1.5%)
Publish security
npm signed

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/environment

First published · 2012-06-27T23:09:47.902Z

Last updated · 2024-05-14T07:02:20.386Z