0.0.1 • Published 7 years ago

grifter v0.0.1

Weekly downloads
7
License
-
Repository
-
Last release
7 years ago

grifter

Simple javascript object to contain a configuration

###Examples

var config = require('grifter');

// setting a variable value (can be changed)
config.host = 'http://localhost';

// setting a constant value (cannot be changed, throws and error)
config.define('port', 443);

// displays "http://localhost"
console.log(config.host);

// displays "443"
console.log(config.port);