<-- Back to packages

Publishing ReScript Libraries / Bindings

Via npm

Whenever you publish a ReScript package to npm, please follow the following guidelines:

Naming:

  • Make sure to give a descriptive package name. We usually use rescript-[name-of-js-lib] for packages that bind to a specific JS library on npm.

  • Use names that are self explanatory (no weird marketing terms / fantasy words if possible).

Metadata:

  • Add a proper description field in your package.json file

  • Add rescript as a keyword in your package.json file

Our package index will pick up the newest npm packages two times a day, so it might take some time until your newly published package shows up.