superenv

0.0.2 • Public • Published

Build Status

superenv

A subset of rc that pulls configuration variables from JSON and ini configuration files and environment variables.

Example

var superenv = require('superenv');
 
// looks for ~/.mapbox.rc and so on, returns
// an object
var env = superenv('mapbox');

API

superenv(prefix)

Given a prefix that forms the name of configuration files and the prefix of environment variables, give settings.

LICENSE

BSD / MIT / Apache2, same as rc, because this is based on rc by Dominic Tarr

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    1
  • 0.0.0
    2

Package Sidebar

Install

npm i superenv

Weekly Downloads

3

Version

0.0.2

License

BSD

Last publish

Collaborators

  • mapbox-admin