npm.io
0.0.5 • Published 1 year ago

@types/json_ml

Licence
MIT
Version
0.0.5
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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: Mon, 05 May 2025 1926 GMT
  • Dependencies: @types/cheerio

Credits

These definitions were written by Alan Plum.