Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1009 Bytes

README.md

File metadata and controls

50 lines (32 loc) · 1009 Bytes

IPLD for Pando

JavaScript implementation of the IPLD format spec for Pando objects.

Install

npm

> npm install ipld-pando

Use in Node.js

const IPLDPando = require('ipld-pando')

Use in a browser with webpack or any other bundler

const IPLDPando = require('ipld-pando')

Use in a browser with a <script> tag

TBD

Usage

js-ipld-pando is an implementation of the IPLD format spec meant to be used through the IPLD resolver. However, it can also be used as a standalone module:

const IPLDPando = require('ipld-pando')

IPLDPando.util.serialize(pandoNode, (err, binary) => {
  if (err) {
    throw err
  }
  console.log(binary)
})

Contribute

Feel free to join in or open an issue!

License

MIT © 2018 wespr