node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

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