gcibeira / bacnet-bbmd

A BACnet BBMD implementation for NodeJS
MIT License
1 stars 1 forks source link

Publish to npmjs #2

Open lorenwest opened 4 months ago

lorenwest commented 4 months ago

Any chance you could publish this to https://www.npmjs.com/ ?

lorenwest commented 4 months ago

Or alternately, offer it as a contribution to node-backstack ?

gcibeira commented 4 months ago

Sure! I could use a hand since I've never published to npmjs or contributed to a project. A pull request to node-backstack would be enougth?

lorenwest commented 4 months ago

I would start out by publishing it independently. Then sending a note to the node-bacnet group to see if they'd like to have it be a part of node-bacnet. I think it'd be a good addition, and would require minimal changes - mostly around optionally enabling the bbmd service. They may want to see it rounded out with some automated registration, but it's useful as-is.

Authorizing yourself for the first time to npmjs can be a pain, but once you're set up it's a simple npm publish in the project directory.

They want to make sure you're not a robot or bad actor, so they have a multi-factor authorization scheme. It's worth the effort to set up, because once you've published something on NPM your code can become part of a bigger project. One of my early packages node-config now gets a little over a million downloads every week because other packages have it as a dependency.

Employers notice the public packages you publish.