If all you use from the `npm` object is the `cache` property, perhaps this module should just accept a `cache` property?