Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created March 21, 2011 15:56
Embed
What would you like to do?
require.extensions[".json"] = function (module, filename) {
module.exports = JSON.parse(require("fs").readFileSync(filename, "utf8"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment