nice-registry / nice-package

📦 Clean up messy package metadata from the npm registry
35 stars 7 forks source link

allow source metadata to be sparse #7

Closed zeke closed 8 years ago

zeke commented 8 years ago

When creating nice packages from package.json files in GitHub repos, sometimes the package.json only has the bare minimum, i.e. no name, no description, etc. This PR allows any object to be used. It may not end up being a "valid" nice package, but it will at least not blow up, and will allow methods like dependsOn to still be used.