
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
rescript-nodejs
Advanced tools
Node.js bindings for ReScript
Works on ReScript 10 or above. Supports uncurried mode in ReScript 11.
npm install rescript-nodejs
or
yarn add rescript-nodejs
Then add rescript-nodejs to bsconfig.json
:
"bs-dependencies": [
"rescript-nodejs"
],
Help all ReScript Node.js apps and libraries to be built faster by reducing the time spent on hand written bindings.
Js.Promise2
is the new improved API.open NodeJs
Fs.createReadStream("/path")
->Stream.pipe(Process.stdout(Process.process))
->Stream.onError(_ => Js.log("handleError"))
open NodeJs
Http.createServer((request, response) => {
request->Stream.onData(data => Js.log(data))
request->Stream.pipe(response)->ignore
});
We welcome and encourage anyone to contribute! In order to minimize confusion and avoid any wasted effort, here are some recommendations:
yarn changie new
) to add changelog entries.All code is licensed as MIT. See LICENSE.
This project was forked from reason-nodejs after it was (or appeared to be) abandoned. If the original authors would like to re-engage please email me.
FAQs
Node bindings for ReScript
The npm package rescript-nodejs receives a total of 1,843 weekly downloads. As such, rescript-nodejs popularity was classified as popular.
We found that rescript-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.