JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 56
  • Score
    100M100P100Q75133F
  • License MIT

Run multiple commands on multiple terminals (or iTerm split panes)

Package Exports

  • multiplerun

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (multiplerun) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Run multiple commands on multiple terminals (or iTerm split panes)

DeepScan grade

Install

npm install multiplerun --save-dev

And add config to your package.json

{
  "name": "some-package",
  "scripts": {
    "multiplerun-test": "multiplerun test"
  },
  "multiplerun": {
    "test": [
      "echo multiplerun!",
      [
        "echo hello",
        "echo world"
      ]
    ]
  }
}
npm run multiplerun-test

If you have installed iTerm.app on your Mac. You can see like this

iTerm Example

Or those commands will be executed via default terminal app (cmd.exe or Terminal.app)

Run in script

const multiplerun = require('multiplerun');

multiplerun([
  'echo multiplerun!',
  [
    'echo hello',
    'echo world'
  ]
]);

API

  • multiplerun(layout, [basedir = process.cwd()])