# @types/jsontoxml

> TypeScript definitions for jsontoxml

Latest version **1.0.6** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 45/100 (D)** — status: abandoned.

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

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2023-11-07 |
| First published | 2018-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.6 (latest) — 2023-11-07
- 1.0.3 (ts3.8) — 2021-12-16
- 1.0.2 (ts3.6) — 2021-07-08
- 1.0.1 (ts2.0) — 2019-02-13
- 1.0.5 — 2023-10-18
- 1.0.4 — 2023-09-15
- 1.0.0 — 2018-02-24

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsontoxml/index.d.ts)
````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](https://github.com/benstevens48).

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