This needs to work with a separate npm mirroring tool, which just downloads the packages.
That means that it should check the packages in the local mirror, and use those if they are present, if not — download from npm registry.
Duplicates should be deleted.