Skip to content

Instantly share code, notes, and snippets.

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