harperdb
Version:
HarperDB is a distributed database, caching service, streaming broker, and application development platform focused on performance and ease of use.
15 lines (14 loc) • 479 B
TypeScript
import { Readable } from 'stream';
export declare function streamAsJSON(value: any): JSONStream;
declare class JSONStream extends Readable {
constructor(options: any);
serialize(object: any): any;
_read(): boolean;
push(content: any): boolean;
flush(): boolean;
readIterator(iterator: any): any;
_destroy(error: any, callback: any): void;
}
export declare function stringify(value: any): any;
export declare function parse(json: any): any;
export {};