1.1.2 • Published 1 month ago

@sliit-foss/actions-exec-wrapper v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@sliit-foss/actions-exec-wrapper

A wrapper around the @actions/exec module which promisifies the console output of a command


Installation

# using npm
npm install @sliit-foss/actions-exec-wrapper

# using yarn
yarn add @sliit-foss/actions-exec-wrapper

Usage

# using require
const exec = require("@sliit-foss/actions-exec-wrapper").default;

# using import
import exec from "@sliit-foss/actions-exec-wrapper";

Example

exec("npm --version")
  .then((result) => {
    console.log(result);
  })
  .catch((error) => {
    console.log(error);
  });
1.1.2

1 month ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago