snakepipe
v0.1.4
Published
A node implementation of the rust snakepipe crate
Downloads
9
Maintainers
Readme
snake-pipe-node
A partial node implementation of my rust cli topheman/snake-pipe-rust.
Prerequisites
- Node
Install
npm install -g snakepipe # will install snakepipe-node
Optional: Install the rust version - it will let you pipe original commands
cargo install snakepipe # will install snakepipe
Usage
This is a partial implementation, for all the commands, see the rust implementation.
📎 Validate incomming stream
# Without piping to render
snakepipe gamestate|snakepipe-node validate
# Piping to render
snakepipe gamestate|snakepipe-node validate|snakepipe render
Usage as a library
npm install snakepipe
See example of usage on topheman/snake-pipe-rust.
Known bugs
- tty issue when piping from
snakepipe gamestate
#1