packets
v1.0.17
Published
Packets formatter for browser js and node.js
Downloads
3
Readme
packets
Simple packets implementation to economize memory and network band.
Getting start
const Packets = require('packets');
const myAppPackets = new Packets([
'ping',
'pong',
]);
// Get identifier to ping packet
myAppPackets.get('ping');
// Get all keys
myAppPackets.keys();
Build Setup
# install dependencies
npm install
# build for production with minification
npm run build
# start compiled version.
npm run start
# run lint in code
npm run lint