Bs- vs reason- What's the proper naming convention for npm packages?


#1

I’m getting ready to publish a new form library on NPM and I’m wondering what the proper naming convention is for npm package names? I’ve seen a lot with bs-foo but also some with reason-foo. Is there a clear difference on when to use one vs the other?

My package will be for Reason consumption and will be compiled to JS for reason-react if that makes a difference.


#2

There is no agreement on this front. I usually use bs-foo for bindings and re-foo for library intended to be used with reasonml