DefinitelyTyped/types/stream-csv-as-json/index.d.ts

22 lines
647 B
TypeScript

// Type definitions for stream-csv-as-json 1.0
// Project: https://github.com/uhop/stream-csv-as-json#readme
// Definitions by: Eugene Lazutkin <https://github.com/uhop>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as AsObjects from './AsObjects';
import * as Parser from './Parser';
import * as Stringer from './Stringer';
export = make;
declare function make(options?: Parser.ParserOptions): Parser;
type ParserClass = Parser;
type ParserType = typeof Parser;
declare namespace make {
type Parser = ParserClass;
const Parser: ParserType;
function parser(options?: Parser.ParserOptions): Parser;
}