@toa.io/bridges.bash
TypeScript icon, indicating that this package has built-in type declarations

0.24.0-alpha.22 • Public • Published

Bash bridge

Allows implementing operations in Bash.

Input must be an object which properties will be passed to the script as named arguments with values converted to strings. Output is a string being the standard output of the script.

If the script exits with a non-zero status code, the operation will return an Error with the message being the standard error output of the script.

Operations cannot have access to the state or context. Basically, only computations are possible.

While theoretically this bridge may find some use, it is mainly a demonstration of language interoperability.

/@toa.io/bridges.bash/

    Package Sidebar

    Install

    npm i @toa.io/bridges.bash

    Weekly Downloads

    30

    Version

    0.24.0-alpha.22

    License

    none

    Unpacked Size

    13 kB

    Total Files

    23

    Last publish

    Collaborators

    • agurtovoi