npm/npm — pull request #5208 by othiym23 (2014-05-06 01:00:39+00:00)
Title: refactor lib/cache.js into smaller pieces

Breaks the helper functions out into smaller pieces, adds a few tests, uses some helper modules, and ensures that all helper functions are always called with a consistent number of parameters.