Server to receive SDB DirectIP messages
Can be used as a simple server to log incoming SBD DirectIP messages
npx sdbServer
or as a module to create the server and handle incoming messages
import { createServer } 'sbd-direct-ip';
const server = createServer();
server.on('message', (data) => {
console.log('Got a new SBD DirectIP message');
});
server.listen();
Feel free to post errors or feature requests to the project issue tracker or email them to us. Please submit security concerns as a confidential issue
The source is hosted on Gitlab and uses prettier, lint-staged and husky to keep things pretty. As such, when you first clone the repository, as well as installing the npm dependencies, you will also need to install husky.
# Install NPM dependencies
npm install
# Set up husky Git hooks stored in .husky
npx husky install
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.1.1 - 2022-06-16
- Update binary-decoder to v0.2.0
0.1.0 - 2022-06-15
Initial version!