Socket
Socket
Sign inDemoInstall

concurrently

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

concurrently

Run commands concurrently


Version published
Weekly downloads
5.1M
decreased by-3.08%
Maintainers
0
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 08 Sep 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc