You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ashley Flanagan b625ccd8d6 | 10 months ago | |
---|---|---|
.. | ||
LICENSE | 10 months ago | |
README.md | 10 months ago | |
dev-browser.js | 10 months ago | |
dev-ssr.js | 10 months ago | |
index.d.ts | 10 months ago | |
package.json | 10 months ago | |
prod-browser.js | 10 months ago | |
prod-ssr.js | 10 months ago |
README.md
esm-env
Uses export conditions to return environment information in a way that works with major bundlers and runtimes.
Usage
Install with npm install esm-env
, then import as needed:
import { DEV, BROWSER } from 'esm-env';