require-cache

Caches the module tree into a JSON file, so when you restart your app it doesn't have to recompute this every time. > Often 2x faster startup time.

require-cache

Caches the module tree into a JSON file, so when you restart your app it doesn't have to recompute this every time. Often 2x faster startup time.

npm install require-cache
require('require-cache')();

That's it!

MIT