Skip to content

Instantly share code, notes, and snippets.

@mattmccray
Created February 17, 2014 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattmccray/9044533 to your computer and use it in GitHub Desktop.
Save mattmccray/9044533 to your computer and use it in GitHub Desktop.
TOML vs JSON
{
"name": "ogre-js-docs",
"version": "0.1.0",
"description": "Docs for ogre.js",
"main": "server.js",
"scripts": {
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Matt McCray <matt@elucidata.net>",
"license": "MIT",
"dependencies": {
"stop": "~2.1.2",
"express": "~3.4.8"
}
}
name= "ogre-js-docs"
version= "0.1.0"
description= "Docs for ogre.js"
main= "server.js"
author= "Matt McCray <matt@elucidata.net>"
license= "MIT"
[scripts]
start= "node server.js",
test= "echo \"Error: no test specified\" && exit 1"
[dependencies]
stop= "~2.1.2"
express= "~3.4.8"
@mattmccray
Copy link
Author

I don't know about you, but man I'd rather use TOML for config files than JSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment