Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A port of PyYAML to CommonJS
branch: master

This branch is 70 commits behind connec:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


A (partial) direct port of PyYAML (

Currently only works with CommonJS (tested with NodeJS).

Likely to be extremely buggy just now for any non-trivial documents, as it's
only been tested with basic list/map structures.

Depends on:
  CoffeeScript (
  underscore (

Currently ported:
  Loading of default YAML structures to Javascript objects

Still to be ported:
  Serializing Javascript objects to YAML
  Loading serialized Javascript objects as a class instance, if available


    yaml = require './src/yaml'
    yaml.load '''
              - just: write some
              - yaml:
                - [here, and]
                - {it: updates, in: real-time}
      { just: 'write some' },
        yaml: [
          [ 'here', 'and' ],
          { it: 'updates', in: 'real-time' }
Something went wrong with that request. Please try again.