tree: 5a9a73348182db813946ec637be1674fc8127b49 [path history] [tgz]
  1. LICENSE
  2. package.json
  3. README.md
  4. yamlish.js
node_modules/yamlish/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)