2.1.0 • Published 6 years ago

fiip-protocol-stdp v2.1.0

Weekly downloads
6
License
MIT
Repository
-
Last release
6 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

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.3

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago