Initial commit

This commit is contained in:
Joe
2026-06-26 14:12:10 +02:00
commit 12518b259c
5258 changed files with 732924 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/// <reference types="node" />
/// <reference types="node" />
import { Readable } from 'stream';
import { GetUriProtocol } from './';
declare class DataReadable extends Readable {
hash?: string;
constructor(hash: string, buf: Buffer);
}
export interface DataOptions {
cache?: DataReadable;
}
/**
* Returns a Readable stream from a "data:" URI.
*/
export declare const data: GetUriProtocol<DataOptions>;
export {};