3 ms·
One way is to delete entries from `require.cache`. Either way you might get a separate instance if npm decided that your module and another module require diff
by svckr 9y ago
One way is to delete entries from `require.cache`.
Either way you might get a separate instance if npm decided that your module and another module require different version of a given module. These would both be singletons though. Just singletons of instances of different versions of the same module.