Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
A module for calling out to the F# Interactive command capturing stdin and stdout as a duplex stream
A module for calling out to the F# Interactive command capturing stdin and stdout as a duplex stream
This module creates a Duplex stream from the F# Interactive command. Writing to stdin and reading from stdout. Also emitting stderr if the command exits non-0.
This module requires F# to be installed on the system to be useful. Installation guides for F# can be found at fsharp.org.
Example:
var fsharp = require('fsharp');
var script = fsharp('./script.fsx');
script.pipe(process.stdout);
Type: String
Required
Path to the script you want to execute.
Type: String
Default: A function that looks for fsharpi
in your path on Linux/Mac or fsi
on Windows. Will fall back to looking in default install directory on Windows.
The path to the F# Interactive executable.
Type: Array[String]
Default: undefined
Array of arguments you want to supply to your script
fsharp inherits from Stream.Duplex, the options are passed to the parent constructor so you can use it's options too.
Sugar for fsharp({path: String});
FAQs
A module for calling out to the F# Interactive command capturing stdin and stdout as a duplex stream
We found that fsharp 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.