dominictarr / npmd

MIT License
450 stars 37 forks source link

does npmd include module source or just metadata? #57

Closed kumavis closed 10 years ago

kumavis commented 10 years ago

The readme makes it sound like its only replicating readme + package.json

dominictarr commented 10 years ago

okay, updated the readme - please let me know if that gives you the right impression.

kumavis commented 10 years ago

Looking again, I think the line that threw me off was All the npm metadata (package.json + readmes) are stored locally in leveldb. This made me think oh, this only stores the metadata, so it caches the dependency graph via the package.json's, and then maybe you hit npm for each module?

dominictarr commented 10 years ago

that is correct. It downloads each tarball from the registry, and then caches it, but only when you need it.

kumavis commented 10 years ago

:+1: