🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

concurrently

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
c

concurrently

Run commands concurrently

9.1.2
latest
99

Supply Chain Security

100

Vulnerability

100

Quality

82

Maintenance

100

License

Shell access

Supply chain risk

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Found 1 instance in 1 package

Dependencies have 1 high alert.

Socket optimized override available

Version published
Weekly downloads
6.8M
5.8%
Maintainers
0
Weekly downloads
 
Created
Issues
63

What is concurrently?

The 'concurrently' npm package is a utility that allows you to run multiple commands concurrently. It is often used to run multiple processes during development, such as a server and a client application at the same time. It can handle the output of these processes, terminate them all together, and more.

What are concurrently's main functionalities?

Running multiple commands

This feature allows you to run multiple commands at the same time. Each command is quoted and separated by a space.

concurrently "command1 arg" "command2 arg"

Customizing the prefix for command output

This feature allows you to customize the prefix shown in the output for each command. In this example, 'API' and 'UI' are custom prefixes for the two npm scripts.

concurrently --names "API,UI" "npm:api" "npm:start"

Killing all commands when one of them exits

This feature ensures that if one command exits, all other commands are also terminated. This is useful for cleaning up processes if one fails.

concurrently --kill-others "command1" "command2"

Running commands sequentially

This feature allows you to run commands sequentially instead of concurrently. The --success option determines which command's exit code will be used as the exit code for concurrently.

concurrently "command1" "command2" --success first

Other packages similar to concurrently

FAQs

Package last updated on 31 Dec 2024

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