Catalog npm
Back to packageRELEASE DETAILS

0.3.6

npm

js-yaml

YAML 1.1 Parser

parserpyyamlyamlserializer
Published22 Feb 2012
Direct dependencies2
Transitive dependenciesNot calculated

README

Current package documentation

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.

Downloads & popularity

60downloads
7-day window · source-reported counts20 Oct 2026
60300
2026-10-20: 60 · observed 2026-10-20T08:44:05.3841913Z
20 Oct20 Oct

npm · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-20602026-10-20T08:44:05.3841913Z

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
vows
Environment
{
  "local_name": "vows",
  "alias": false,
  "peer_metadata": null
}
~ 0.6.0development
jslint
Environment
{
  "local_name": "jslint",
  "alias": false,
  "peer_metadata": null
}
https://github.com/reid/node-jslint/tarball/6131ebf5713274871b89735105e3286131804771development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "6134b2ffde54ad070beae9f342750f0f7133d7a9",
  "tarball": "https://registry.npmjs.org/js-yaml/-/js-yaml-0.3.6.tgz",
  "integrity": "sha512-2lKFr6Ezy25yEhSw28Vi+rgAdbAaxFoLA1tsUsY0dB1IXsJ9vJmfEjfbYUpZmLzE8tEUnrVhBvVZsXYUpwwnTQ==",
  "signatures": [
    {
      "sig": "MEUCIHvBbi/E39yccgVgfSDQsmfm/i1CXJF3ro8CjnRxXITdAiEAmbLzOKvdut7G+w2SkTohGQuBDnG4A3pkhB/XFxm2Vp4=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ]
}

Repository

PENDING
nodeca/js-yaml

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 08:14 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9bb853d987e5be7a74f5f1c312e893f8011742175ddde2bc0d4ac4b4bda485cb

Other collected versions

5.5.015 Oct5.4.35 Oct5.4.213 Sept3.15.226 Aug4.3.226 Aug5.4.126 AugView all collected versions →