Installation
npm install --save @types/jsontoxml
Summary
This package contains type definitions for jsontoxml (https://github.com/soldair/node-jsontoxml).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsontoxml.
declare namespace jsontoxml {
function escape(str: string): string;
function cdata(str: string): string;
interface JsonToXmlOptions {
escape?: boolean | undefined;
xmlHeader?: boolean | { standalone?: boolean | undefined } | undefined;
docType?: string | undefined;
prettyPrint?: boolean | undefined;
indent?: string | undefined;
removeIllegalNameCharacters?: boolean | undefined;
html?: boolean | undefined;
}
}
declare function jsontoxml(data: any, options?: jsontoxml.JsonToXmlOptions): string;
export = jsontoxml;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by benstevens48.