This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
superenv with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
A subset of rc that pulls configuration variables from JSON and ini configuration files and environment variables.
var superenv = require('superenv'); // looks for ~/.mapbox.rc and so on, returns // an object var env = superenv('mapbox');
Given a prefix that forms the name of configuration files and the prefix of environment variables, give settings.
BSD / MIT / Apache2, same as rc, because this is based on rc by Dominic Tarr