Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple configuration module for node.js
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.npmignore
README.md
index.coffee
package.json

README.md

coffee-config

Simple configuration module for node.js

Usage with config.json in project root directory:

$ npm install coffee-config

config = require 'configurator'
config.async ->
  port = config.get 'port'
  address = config.production.address

# or

config.sync()
port = config.get 'port'
address = config.production.address
Something went wrong with that request. Please try again.