1.0.1 • Published 6 years ago

@ascendcom/env-manager v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

#. clone this project to your pc/mac #. cd in to the project #. npm link #. go to the project you want to use it #. npm link ae-env-manager #. require('ae-env-manager') in your entry file (in electron is called renderer.js) #. create .env file with the same directory with renderer.js #. magic happens

.env example format PARAMETER=VALUE

in application env('PARAMETER', default_value) will return "VALUE"

to cache before build run node node_modules/ae-env-manager/cache or put it as a npm scripts