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

0.2.34 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/yamljs

Weekly Downloads

73,428

Version

0.2.34

License

MIT

Unpacked Size

3.09 kB

Total Files

5

Last publish

Collaborators

  • types