shama / napa

:wine_glass: A helper for installing stuff without a package.json with npm.
MIT License
413 stars 34 forks source link

some question, about how to use it. I just want to know where this package used to? #61

Closed XGHeaven closed 8 years ago

XGHeaven commented 8 years ago

I find this package in one page, when i search how to ues bowserify build angular project. It use napa to install angualr module to node_modules. because angular module haven't been published in npm. But without this usage, I can't know where to use it. Npm also support install via git.

So, I want to know where this package used to . In the other hand, Why I use napa instand of npm. Or, What's purpose of this package.

I'm Chinese. English is my second language. if spelling error or syntax error occured, sorry. Thanks.

shama commented 8 years ago

napa is for installing packages that don't have a package.json file. npm can install via git but only if the repo has a package.json.

I recommend opening an issue on the original package and request to add a package.json. My preference is to use npm whenever possible. Then only use napa with npm when a package author is unresponsive or refuses to add npm compatibility.

XGHeaven commented 8 years ago

Very Thanks. My question is resolved.

Can I close this issue?

shama commented 8 years ago

:+1: