@mixint/pathfork

2.0.1 • Public • Published

PathFork

PathFork is a Transflect stream released with MIXINT v0.1.0. It executes the program passed to it from the URL pathname, and passes the &-separated arguments from the querystring. The body of the request is piped to stdin of the program, and stdout/stderr are buffered into arrays. Once the program exits, a response body includes a JSON object with source, error, stdin, stdout, stderr, and exit properties.

example screenshot showing output

Programs that run more than a few seconds may time out. To keep track of long running processes, including tailing the stdout / stderr of ongoing processes, an improvement called TeleFork is planned.

Package Sidebar

Install

npm i @mixint/pathfork

Weekly Downloads

3

Version

2.0.1

License

SEE LICENSE IN CONTINUITY.LICENSE

Unpacked Size

45.9 kB

Total Files

7

Last publish

Collaborators

  • jazzyjackson