4 releases
new 0.2.2 | Dec 7, 2024 |
---|---|
0.2.1 |
|
0.1.2 | Dec 6, 2024 |
#42 in WebSocket
374 downloads per month
23KB
280 lines
nu_plugin_ws
A plugin for Nushell, a cross-platform shell and scripting language. This plugin adds support for streaming from a websocket.
Installation
Cargo
Get the latest version from crates.io with a local install:
# Downloads and installs the plugin
cargo install nu_plugin_ws
# Registers the plugin with Nushell
plugin add ~/.cargo/bin/nu_plugin_ws
# Activates the plugin
plugin use ws
Manual build
Manual builds can also be used:
# Clone the repository
git clone https://github.com/alex-kattathra-johnson/nu_plugin_ws.git
# Enter the repo folder
cd nu_plugin_ws
# Build a release version of the plugin
cargo build -r
# Registers the plugin with Nushell
plugin add target/release/nu_plugin_ws
# Activates the plugin
plugin use ws
Dependencies
~26–57MB
~1M SLoC