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

0.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/json_ml

Weekly Downloads

7

Version

0.0.4

License

MIT

Unpacked Size

3.14 kB

Total Files

5

Last publish

Collaborators

  • types