Dynamic module js-yaml

Index

Variables

Interfaces

Functions

Variables

CORE_SCHEMA: any

DEFAULT_FULL_SCHEMA: any

DEFAULT_SAFE_SCHEMA: any

FAILSAFE_SCHEMA: any

JSON_SCHEMA: any

Functions

dump(obj: any, opts?: DumpOptions): string

Parameters

Returns

string

load(str: string, opts?: LoadOptions): any

Parameters

Returns

any

loadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): any

Parameters

  • str: string
  • iterator: (doc: any) => void
  • opts?: LoadOptions optional

Returns

any

safeDump(obj: any, opts?: DumpOptions): string

Parameters

Returns

string

safeLoad(str: string, opts?: LoadOptions): any

Parameters

Returns

any

safeLoadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): any

Parameters

  • str: string
  • iterator: (doc: any) => void
  • opts?: LoadOptions optional

Returns

any