Skip to content

Instantly share code, notes, and snippets.

@vojto
Created October 27, 2011 12:35
Show Gist options
  • Select an option

  • Save vojto/1319432 to your computer and use it in GitHub Desktop.

Select an option

Save vojto/1319432 to your computer and use it in GitHub Desktop.
fs = require 'fs'
coffeescript = require 'coffee-script'
optionsString = fs.readFileSync("config.coffee", "utf-8")
options = coffeescript.eval(optionsString)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment