js-car:用于 JavaScript 的内容可寻址 aArchive 格式读写器

时间:2021-08-04 03:35:45
【文件属性】:
文件名称:js-car:用于 JavaScript 的内容可寻址 aArchive 格式读写器
文件大小:51KB
文件格式:ZIP
更新时间:2021-08-04 03:35:45
JavaScript @ipld/汽车 JavaScript 内容可寻址存档 (CAR) 文件读取器和写入器。 也可以看看: 原始 内容 例子 // Create a simple .car file with a single block and that block's CID as the // single root. Then read the .car and fetch the block again. import fs from 'fs' import { Readable } from 'stream' import { CarReader , CarWriter } from '@ipld/car' import * as raw from 'multiformats/codecs/raw' import { CID } from 'multiformats/cid' import
【文件预览】:
js-car-master
----LICENSE-MIT(1KB)
----LICENSE-APACHE(554B)
----package.json(3KB)
----.github()
--------dependabot.yml(542B)
--------workflows()
----test()
--------test-errors.js(3KB)
--------test-indexer.js(2KB)
--------test-iterator.js(2KB)
--------test-writer.js(9KB)
--------node-test-raw.js(2KB)
--------test-interface.js(831B)
--------node-test-updateroots.js(3KB)
--------verify-store-reader.js(5KB)
--------test-reader.js(3KB)
--------node-test-large.js(4KB)
--------common.js(8KB)
--------go.car(715B)
--------node-test-file-streams.js(2KB)
--------node-test-indexed-reader.js(1KB)
----tsconfig.json(1KB)
----examples()
--------package.json(784B)
--------round-trip.js(2KB)
--------verify-car.js(3KB)
--------test-examples.js(4KB)
--------.gitignore(55B)
--------dump-car.js(1KB)
----.gitignore(74B)
----api.ts(1KB)
----lib()
--------indexed-reader-browser.js(153B)
--------iterator-channel.js(2KB)
--------indexed-reader.js(6KB)
--------coding.ts(809B)
--------writer.js(3KB)
--------encoder.js(2KB)
--------iterator.js(9KB)
--------reader-browser.js(6KB)
--------writer-browser.js(8KB)
--------reader.js(2KB)
--------decoder.js(8KB)
--------indexer.js(4KB)
----car-browser.js(395B)
----README.md(29KB)
----car.js(371B)

网友评论