A JavaScript implementation of a Salt Channel client. Client-side code that connects on top of WebSocket. Works with both on browser and NodeJS Salt Channel is based on TweetNaCl and
- SaltChannel.js uses TweetNaCl-es6.js which has no dependencies.
- Need at least NodeJS version 14 if running with Node.
Download the source code and include using import.
import saltchannel from 'path/to/saltchannel.js';
To run test in NodeJS version 14:
$ npm run test
$ npm run browser
To run test in browser: