mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
15 lines
332 B
TypeScript
15 lines
332 B
TypeScript
|
|
import json = require('JSONStream');
|
|
|
|
var read: NodeJS.ReadableStream;
|
|
var write: NodeJS.WritableStream;
|
|
|
|
read = read.pipe(json.parse('*'));
|
|
read = read.pipe(json.parse(['foo/*', 'bar/*']));
|
|
|
|
read = json.stringify();
|
|
read = json.stringify('{', ',', '}');
|
|
|
|
read = json.stringifyObject();
|
|
read = json.stringifyObject('{', ',', '}');
|