1.0.2 • Published 7 years ago
buildtest-dwalker v1.0.2
buildtest-dwalker
Proof of concept for capturing environment variables available at build time and using them at run time.
The problem
At build time we want to configure certain connections strings and other data that varies by environment.
This solution
This package captures the build environment variables into a file that can be referenced at runtime.
Installation
This module is distributed via npm which is bundled with node and
should be installed as one of your project's devDependencies
:
npm install --save-dev buildtest-dwalker
Usage
Reference this from javascript.
var buildConfig = require("buildtest-dwalker");
var connectionString = buildConfig.AppConnection;