We’re finalizing the transfer of our npm package under the new name rescript. This is still a beta, so please report any problem.
The old package bs-platform will still exist, and we’ve carried the old binaries (
bsb) over to the new rescript package for compatibility.
Along with these old binaries, we’re adding a new one:
npm i rescript npx rescript init npx rescript build
The new rescript CLI adopts the subcommand approach so that it is more extensible in the future, it is pretty easy to learn those options:
npx rescript -h npx rescript format -h
Thanks to this approach and
npx, commands like
npx rescript format should work out of box, with zero installation, even on Windows!
The new CLI is not finalized yet, your feedback is welcome!
A list of changes are available here: https://github.com/rescript-lang/rescript-compiler/blob/master/Changes.md#91