Skip to content
A parser for the yamlish format
JavaScript
Latest commit 9e67bca May 20, 2015 @isaacs v0.0.7
Failed to load latest commit information.
LICENSE isc license May 20, 2015
README.md fix example string Apr 6, 2011
package.json v0.0.7 May 20, 2015
yamlish.js Use block string as cheap string escape Apr 8, 2014

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.