package
Bingo input that runs a script.
npm install input-from-scriptGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Estimated unpacked size across 2 packages.
5.9 MB
Includes dependencies.
Bingo input that runs a script.
npm i input-from-scriptimport { inputFromFetch } from 'input-from-script';
await take(inputFromFetch, { resource: 'npm whoami' });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 scriptResult: The type from execa, including the stdout propertySee create.bingo > Templates > Concepts > Inputs for more documentation on Inputs.
mfaith
michael.faith@gmail.com