@oresoftware/envstr
Semver-oriented TypeScript library skeleton.
$ cnpm install @oresoftware/envstr 
SYNC missed versions from official npm registry.

Envar

Get strings interpreted by bash (for env var interpolation, etc).

const envar = require('@oresoftware/envstr');

envar.getEnvStrings(["$age"], (err, values) => {
    // err is potential error
    // values is array of interpreted strings
});

envar.getEnvString("$age", (err, value) => {
  // err is potential error
  // value is interpreted string
});


envar.getEnvStringsp(["$age"]).then(values => {
  // values is array of interpreted strings
});

envar.getEnvStringp("$age").then(val => {
  // val is interpreted string
});




To kill the process at anytime:

envar.kill(9);

Current Tags

  • 0.0.1001                                ...           latest (a year ago)

1 Versions

  • 0.0.1001                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |