Installation
npm install --save @types/json_ml
Summary
This package contains type definitions for json_ml (https://github.com/59naga/json-ml).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json_ml.
index.d.ts
/// <reference types="cheerio" />
export type Node = string | [string, ...any[]];
export function parse(xml: string, trim?: boolean): Node[];
export function stringify(
object: Node[],
replacer?: ((node: cheerio.Cheerio) => any) | null,
indent?: number,
): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/cheerio
Credits
These definitions were written by Alan Plum.