0.0.32 • Published 6 months ago
@types/xmltojson v0.0.32
Installation
npm install --save @types/xmltojson
Summary
This package contains type definitions for xmltojson (https://github.com/metatribal/xmlToJSON).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xmltojson.
index.d.ts
// Type definitions for xmltojson
// Project: https://github.com/metatribal/xmlToJSON
// Definitions by: Travis Crowe <https://github.com/traviscrowe>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = xmltojson;
declare namespace xmltojson {
function grokType(sValue: any): any;
function parseString(xmlString: string, opt: Options): Object;
function parseXml(oXMLParent: Document, opt: Options): Object;
function xmlToString(xmlDoc: Document): string;
function stringToXml(xmlString: string): Document;
interface Options {
mergeCDATA?: boolean | undefined,
grokAttr?: boolean | undefined,
grokText?: boolean | undefined,
normalize?: boolean | undefined,
xmlns?: boolean | undefined,
namespaceKey?: string | undefined,
textKey?: string | undefined,
valueKey?: string | undefined,
attrKey?: string | undefined,
cdataKey?: string | undefined,
attrsAsObject?: boolean | undefined,
stripAttrPrefix?: boolean | undefined,
stripElemPrefix?: boolean | undefined,
childrenAsArray?: boolean | undefined
}
}
Additional Details
- Last updated: Fri, 02 Jul 2021 17:02:22 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Travis Crowe.
0.0.30
8 months ago
0.0.31
7 months ago
0.0.32
6 months ago
0.0.29
3 years ago
0.0.28
8 years ago
0.0.27
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.20-alpha
8 years ago
0.0.15-alpha
8 years ago
0.0.14-alpha
8 years ago