MCPcopy Create free account
hub / github.com/nodeca/js-yaml

github.com/nodeca/js-yaml

Chat with this repo
repository ↗ · DeepWiki ↗ · release 5.4.1 ↗ · + Follow · compare 7 versions
305 symbols 922 edges 90 files ⚖ MIT 49 documented · 16% updated 9d ago★ 6,6284 open issues

Browse by type

Functions 242 Types & classes 63
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

js-yaml

CI NPM version

YAML 1.2 parser and serializer for JavaScript.

Online demo

  • Supports the YAML 1.2 and YAML 1.1 specifications.
  • Passes the entire YAML Test Suite.

Documentation >>

Install
npm install js-yaml
Usage
import { load } from 'js-yaml'

try {
  const document = load('greeting: hello')
  console.log(document.greeting)
} catch (e) {
  console.error(e)
}
import { dump } from 'js-yaml'

const source = dump({ greeting: 'hello' })
console.log(source)

More usage examples.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 228
Interface 49
Class 14
Method 14

Languages

TypeScript100%

Modules by API surface

src/parser/parser.ts50 symbols
src/ast/scalar_styler.ts22 symbols
src/parser/constructor.ts20 symbols
support/typedoc_condensed_theme/condensed_theme_plugin.mjs17 symbols
src/ast/presenter.ts17 symbols
test/spec/spec.test.mjs13 symbols
src/schema.ts13 symbols
src/ast/from_events.ts12 symbols
test/core/tags/custom.test.mjs11 symbols
src/parser/parser_scalar.ts11 symbols
src/tag.ts9 symbols
src/ast/styler_defaults.ts9 symbols

Dependencies from manifests, versioned

@streamparser/json0.0.22 · 1×
@types/node24.12.2 · 1×
argparse2.0.1 · 1×
c811.0.0 · 1×
codemirror5.65.21 · 1×
eslint9.39.4 · 1×
fast-check4.8.0 · 1×
gh-pages6.3.0 · 1×
js-yaml4.1.1 · 1×
mitata1.0.34 · 1×
neostandard0.13.0 · 1×
rollup4.62.2 · 1×

For agents

$ claude mcp add js-yaml \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page