require-snapshot Save and restore require function's cache. Installing npm install require-snapshot Building Clone the repository Run npm install Run grunt to compile the CoffeeScript code Run grunt test to run the specs Usage requireSnapshot = require 'require-snapshot'