Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Converts an IPLD Format into a BlockCodec for use with the multiformats module

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ipld/js-ipld-format-to-blockcodec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipld-format-to-blockcodec

Convert an IPLD Format module into a BlockCodec for use with the multiformats module.

Table of contents

Install

$ npm i ipld-format-to-blockcodec

Use

const { convert } = require('ipld-format-to-blockcodec')
const ipldGit = require('ipld-git')

const codec = convert(dagCbor)

// use BlockCodec methods
console.info(format.code)
console.info(format.encode)
console.info(format.decode)
// etc..

API

https://ipld.github.io/js-ipld-format-to-blockcodec/

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

License

This project is dual-licensed under Apache 2.0 and MIT terms:

About

Converts an IPLD Format into a BlockCodec for use with the multiformats module

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published