Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A parser for the yamlish format
branch: master

v0.0.6

latest commit fbb89dc1c2
isaacs authored
Failed to load latest commit information.
LICENSE MIT License
README.md fix example string
package.json v0.0.6
yamlish.js Use block string as cheap string escape

README.md

This is a thingie to parse the "yamlish" format used to serialize objects in the TAP format.

It's like yaml, but just a tiny little bit smaller.

Usage:

var yamlish = require("yamlish")
// returns a string like:
/*
some:
  object:
    - full
    - of
pretty: things
*/
yamlish.encode({some:{object:["full", "of"]}, pretty:"things"})

// returns the object
yamlish.decode(someYamlishString)
Something went wrong with that request. Please try again.