# @types/yamljs

> TypeScript definitions for yamljs

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

## Install

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

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.34 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51428 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.2.34 (latest) — 2023-11-07
- 0.2.31 (ts3.0) — 2020-05-15
- 0.2.30 (ts2.0) — 2016-09-19
- 0.2.33 — 2023-10-18
- 0.2.32 — 2023-09-25
- 0.2.29 — 2016-08-25
- 0.2.28 — 2016-08-19
- 0.2.27 — 2016-08-02
- 0.2.26 — 2016-07-14
- 0.2.25-alpha — 2016-07-08
- 0.2.24-alpha — 2016-07-04
- 0.2.23-alpha — 2016-07-02
- 0.2.22-alpha — 2016-07-02
- 0.2.21-alpha — 2016-07-01
- 0.2.20-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/yamljs/versions

## README

# Installation
> `npm install --save @types/yamljs`

# Summary
This package contains type definitions for yamljs (https://github.com/jeremyfa/yaml.js).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yamljs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yamljs/index.d.ts)
````ts
export as namespace YAML;
export = YAML;

declare namespace YAML {
    function load(path: string): any;

    function load(path: string, callback: (res: any) => void): void;

    function stringify(nativeObject: any, inline?: number, spaces?: number): string;

    function parse(yamlString: string): any;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Tim Jonischkat](http://www.tim-jonischkat.de).

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