A proposal for a framework-agnostic way of building Javascript configuration objects based on different environments.
This proposal focuses on the conventions that will allow for the creation of a plain old JavaScript object. For example:
var environment = new Environment("development");
environment.name; // "development"
environment.config.API_ROOT; // "http://localhost:3000/"