🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

7ohm

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

7ohm

Cross-platform concurrency without external dependencies

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

7ohm - Run parallel processes with no cost of external dependencies

Motivation

Super simple package that allows you to run concurrent processes across multiple shell types, similar to concurrently, but without burden of external dependencies for functionality that useless in 99% cases.

So if you just want to run several processes in parallel on multiple platforms and don't want to bring extra dependencies, then it's for you.

Installation

npm i -g 7ohm

Usage

In command line:

7ohm "command1 arg1 arg2" "command2 arg1 arg3"

In package.json scripts section:

"scripts": {
  "command1": "command1 arg1 arg2",
  "command2": "command1 arg1 arg2",
  "dev": "7ohm \"npm run command1\" \"npm run command2\""
}

...or even better (supports shortcuts for package manager scripts of npm, yarn and pnpm now!):

"scripts": {
  "command1": "command1 arg1 arg2",
  "command2": "command1 arg1 arg2",
  "dev": "7ohm npm:command1 npm:command2"
}

Contribution

If you want to make PR, please keep it simple and NO EXTRA DEPENDENCIES. Feel free to report any bugs since it was tested only on windows in bash and powershell by me.

Keywords

concurrent

FAQs

Package last updated on 24 Sep 2020

Did you know?

Socket

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.

Install

Related posts