@helia/verified-fetch
Version:
A fetch-like API for obtaining verified & trustless IPFS content on the web
7 lines • 320 B
TypeScript
/**
* Take a `DAG-CBOR` encoded `Uint8Array`, deserialize it as an object and
* re-serialize it in a form that can be passed to `JSON.serialize` and then
* `JSON.parse` without losing any data.
*/
export declare function dagCborToSafeJSON(buf: Uint8Array): string;
//# sourceMappingURL=dag-cbor-to-safe-json.d.ts.map