Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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,357 weekly downloads. As such, rescript-nodejs popularity was classified as popular.
We found that rescript-nodejs demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.