Socket
Book a DemoInstallSign in
Socket

@garment/plugin-runner-bin

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garment/plugin-runner-bin

<!-- description src/index.ts firstInterface --> Executes system or node binary file with given args.

latest
npmnpm
Version
0.18.0
Version published
Weekly downloads
10
900%
Maintainers
2
Weekly downloads
 
Created
Source

@garment/plugin-runner-bin

Executes system or node binary file with given args.

Installation

npm i @garment/plugin-runner-bin

or

yarn add @garment/plugin-runner-bin

Example usage

{
    "runner": "bin",
    "options": {
        "bin": "echo",
        "args": "garment is phenomenal"
    }
}

API

bin: string

The name of the binary to execute. Garment will look up the path with the bin name you provided.

args: string | string[] | { [key: string]: string | boolean | string[]; }

The arguments to pass to the given bin.

env: { [key: string]: string; }

Environment variables

stream: boolean

Stream all the console output, otherwise it will be collected and output after the execution

longRunning: boolean

Not wait until the process is finished

FAQs

Package last updated on 02 Mar 2022

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