nohros / nsPopover

Popover dialogs for angularjs applications.
MIT License
126 stars 107 forks source link

npm support #101

Open maxdow opened 9 years ago

maxdow commented 9 years ago

Provide ability to publish the package to npm .

I make a release here : https://www.npmjs.com/package/ns-popover

fell free to take the ownership

close https://github.com/nohros/nsPopover/issues/92

nohros commented 9 years ago

Why the package name needs to be changed?

I am not familiar with nodejs and do not know if this library could be used in node directly, can you clarify the use case?

maxdow commented 9 years ago

npm is a package manager which could be used for server and front end.

You can build a frontend app throught browserify or webpack and use a node module with require() call like you do in a nodejs app.

Even if the package is not npm compliant ( it doesn't export a module ) you could use npm to share and download it like you do with bower.

In my case i have ns-popover in dependencies in my package.json. When i type npm install, all my dependencies are loaded from npm. Now if i use browserify or webpack i just have to require ns-popover in my code and it's loaded exactly as if i added a Githubissues.

  • Githubissues is a development platform for aggregating issues.