2.1.0 • Published 5 years ago

fiip-protocol-stdp v2.1.0

Weekly downloads
6
License
MIT
Repository
-
Last release
5 years ago

fiip-protocol-stdp

stdp --a fiip sub protocol.

Installation

npm install fiip-protocol-stdp --save

Usage

const fiip = require('./fiip/fiip');
const stdp = require('./fiip-protocol-stdp/stdp');
const txd = new stdp.Format();
stdp.start();
stdp.addListener(0xffff, (msg, link) => {
  console.log(msg);
});
const txd = new stdp.Format();
txd.setVar('body', Buffer.from('hello'), 6);
fiip.send(txd, my.id, null);

License

MIT

Reference

git

2.1.0

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago