semantic-internet-protocol
v0.0.5
Published
an implementation of the semantic internet protocol 1.0
Downloads
5
Readme
semantic-internet-protocol
This Repo contains the spec for the semantic-internet-protocol and serialize/deserialize functions. It is written in JSON-Schema You can find the spec in the source directory
installation
$ npm install semantic-internet-protocol
usage
import { header, knowledge, interest } from 'semantic-internet-protocol'
API
# header.serialize({ version: Float, command: INTEREST|EXPOSE,
#contentLength: Int }) -> string