Laptop-Thing/web/node_modules/esm-env
2024-11-27 12:35:48 -05:00
..
browser-dev-node.js Initial commit 2024-11-27 12:35:48 -05:00
browser-dev.js Initial commit 2024-11-27 12:35:48 -05:00
browser-node.js Initial commit 2024-11-27 12:35:48 -05:00
browser.js Initial commit 2024-11-27 12:35:48 -05:00
dev-node.js Initial commit 2024-11-27 12:35:48 -05:00
dev.js Initial commit 2024-11-27 12:35:48 -05:00
index.d.ts Initial commit 2024-11-27 12:35:48 -05:00
LICENSE Initial commit 2024-11-27 12:35:48 -05:00
node.js Initial commit 2024-11-27 12:35:48 -05:00
none.js Initial commit 2024-11-27 12:35:48 -05:00
package.json Initial commit 2024-11-27 12:35:48 -05:00
README.md Initial commit 2024-11-27 12:35:48 -05:00

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 { BROWSER, DEV, NODE } from 'esm-env';

License

MIT