# @types/relaxed-json

> TypeScript definitions for relaxed-json

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

## Install

```sh
npm install @types/relaxed-json
pnpm add @types/relaxed-json
yarn add @types/relaxed-json
bun add @types/relaxed-json
```

## 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.4 |
| Published | 2023-11-07 |
| First published | 2017-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51448 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.4 (latest) — 2023-11-07
- 1.0.1 (ts3.6) — 2021-07-07
- 1.0.0 (ts2.0) — 2017-05-01
- 1.0.3 — 2023-10-18
- 1.0.2 — 2023-09-27

## README

# Installation
> `npm install --save @types/relaxed-json`

# Summary
This package contains type definitions for relaxed-json (https://github.com/phadej/relaxed-json).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/relaxed-json.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/relaxed-json/index.d.ts)
````ts
export type Reviver = (this: {}, key: string, value: any) => any;
export function transform(text: string): string;
export function parse(text: string, reviver: Reviver): {};
export function parse(text: string, opts?: {
    reviver?: Reviver | undefined;
    relaxed?: boolean | undefined;
    warnings?: boolean | undefined;
    tolerant?: boolean | undefined;
    duplicate?: boolean | undefined;
}): {};
export function stringify(obj: any): string;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Mikal Madsen](https://github.com/18steps).

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