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