0.1.0 • Published 7 years ago

var-expansion v0.1.0

Weekly downloads
14
License
ISC
Repository
github
Last release
7 years ago

var-expansion

Shell Parameter Expansion for node.js and browser.

Installation & Usage

Installation:

% npm install var-expansion

Usage:

var substiteVariables = require('var-expansion').substiteVariables;

var {value, error} = substiteVariables("Current path: $PWD", {env: process.env});

See tests for more usage examples.

Development

Cloning repository:

% git clone https://github.com/andreax79/var-expansion.git
% cd var-expansion

Make sure code typechecks and tests pass:

% make check
% make test
% make test-watch

Make a new release (this does all checks before bumping a version):

% make version-patch publish
% make version-minor publish
% make version-major publish