node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

require-cache

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.

Installation

npm install require-cache

Quick Start

require('require-cache')();

That's it!

License

MIT