position-calculator
position-calculator copied to clipboard
Publish on npm
Bower is deprecated, is it possible to have npm package published?
Well, this software need a browser, it will not work on nodejs. So make it sense to publish it as a node package? I don't know, what do you think?
Bower
officially propose to use yarn
or webpack
as a replacement for bower
- https://github.com/bower/bower/issues/2298
There is even an old blog post from npmjs
team - http://blog.npmjs.org/post/101775448305/npm-and-front-end-packaging
Node can be used on the front end/in the browser too. It's a package manager. It can also do other stuff, but it can work just fine just to manage packages/modules/scripts. Instead of using require
, you just reference the right script in the 'node_modules' folder. You're already using the umd pattern, and you don't require()
anything in your package from what I can tell, so it should work.
You still don't have to make an npm package, but this is info to keep in mind.
So thank for the hint. I think it is a good suggestion to make a npm package. I just have less time but hope can do it soon.