@types/jsontoxml
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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.

index.d.ts

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/jsontoxml

      Weekly Downloads

      7,868

      Version

      1.0.6

      License

      MIT

      Unpacked Size

      3.73 kB

      Total Files

      5

      Last publish

      Collaborators

      • types