Browse by type
YAML 1.2 parser and serializer for JavaScript.
npm install js-yaml
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)
browse all types & interfaces →
$ claude mcp add js-yaml \
-- python -m otcore.mcp_server <graph>