# @types/json_ml

> TypeScript definitions for json_ml

Latest version **0.0.5** (published 2025-05-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/json_ml
pnpm add @types/json_ml
yarn add @types/json_ml
bun add @types/json_ml
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2025-05-05 |
| First published | 2018-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/json_ml
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json_ml
- npm.io page: https://npm.io/package/@types/json_ml

## Dependencies (1)

- [@types/cheerio](https://npm.io/package/@types/cheerio.md) <1

## Recent versions

- 0.0.5 (latest) — 2025-05-05
- 0.0.4 (ts4.6) — 2023-11-07
- 0.0.1 (ts3.9) — 2020-09-23
- 0.0.0 (ts3.1) — 2018-12-06
- 0.0.3 — 2023-10-18
- 0.0.2 — 2023-09-15

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json_ml/index.d.ts)
````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 19:32:26 GMT
 * Dependencies: [@types/cheerio](https://npmjs.com/package/@types/cheerio)

# Credits
These definitions were written by [Alan Plum](https://github.com/pluma).

---
_Source: https://npm.io/package/@types/json_ml · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
