0.5.4 • Published 5 months ago

input-from-script v0.5.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago
npm i input-from-script
import { inputFromFetch } from "input-from-script";

await take(inputFromFetch, { resource: "npm whoami" });

Options

inputFromScript takes a single argument, command, of type string.

It runs the command with execa and returns either:

  • Error: If an error was caught running the script
  • Result: The type from execa, including the stdout property

See create.bingo > Templates > Concepts > Inputs for more documentation on Inputs.

0.5.4

5 months ago

0.5.3

5 months ago

0.5.2

5 months ago

0.5.1

5 months ago

0.5.0

6 months ago

0.4.1

6 months ago

0.4.0

6 months ago

0.2.0

7 months ago

0.1.0-alpha.4

8 months ago

0.1.0-alpha.3

8 months ago