@helia/dag-cbor v3.0.4
@helia/dag-cbor
Add/get IPLD blocks containing dag-cbor with your Helia node
About
@helia/dag-cbor
makes working with DAG-JSON Helia simple & straightforward.
See the DAGCBOR interface for all available operations.
Example
import { createHelia } from 'helia'
import { dagCbor } from '@helia/dag-cbor'
import { CID } from 'multiformats/cid'
const d = dagCbor(helia)
const cid = await d.put({
hello: 'world'
})
const obj = await d.get(cid)
console.info(obj)
// { hello: 'world' }
Install
$ npm i @helia/dag-cbor
Browser <script>
tag
Loading this module through a script tag will make it's exports available as HeliaDagCbor
in the global namespace.
<script src="https://unpkg.com/@helia/dag-cbor/dist/index.min.js"></script>
API Docs
License
Licensed under either of
- Apache 2.0, (LICENSE-APACHE / http://www.apache.org/licenses/LICENSE-2.0)
- MIT (LICENSE-MIT / http://opensource.org/licenses/MIT)
Contribute
Contributions welcome! Please check out the issues.
Also see our contributing document for more information on how we work, and about contributing in general.
Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
2 days ago
5 days ago
19 days ago
19 days ago
21 days ago
21 days ago
21 days ago
22 days ago
22 days ago
26 days ago
26 days ago
27 days ago
28 days ago
28 days ago
29 days ago
29 days ago
30 days ago
30 days ago
30 days ago
30 days ago
30 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
9 months ago
9 months ago
9 months ago
8 months ago
1 year ago