
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
Easily fork node process to run scripts concurrently
Sometimes you want to run multiple node processes at once. For example
tsc --project srcparcel src --out-dir buildonchange build --initial -- node build/start.jsThere are several ways to solve this:
Make npm/yarn scripts and run them independently
Gulp
command1 & command2 & command3 & ...
SIGTERM does not kill all processes.With easy-fork, you can pass multiple CLI commands to run them concurrently, and now all you have to do is run the script.
$ npm install easy-fork
or
$ yarn add easy-fork
const fork = require('easy-fork');
fork('tsc --watch --project ./src/client');
fork('tsc --watch --project ./src/server');
fork('parcel serve ./src/client/index.html --out-dir ./build/client');
fork('tcm --watch --camelCase --pattern ./src/client/**/*.scss')
fork('onchange ./build/server --initial -- node ./build/server')
Type: string
Command to run. Must be locally installed node CLI.
MIT © Hoishin
FAQs
Easyly fork node process to run scripts concurrently
We found that easy-fork 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.