Skip to content

Portable environment variables in the browser and server

License

Notifications You must be signed in to change notification settings

kmalakoff/portable-env

Repository files navigation

portable-env

Portable environment variables in the browser and server

For a browser, put the environment variables on window.ENV. For Node, uses process.env.

var assert = require('assert');
var env = require('portable-env');

assert.ok(env().NODE);

About

Portable environment variables in the browser and server

Resources

License

Stars

Watchers

Forks

Packages

No packages published