commando.html5/node_modules/tap/node_modules/yamlish
Captain Nick Lucifer* a0bc2d79de dot.dot.dot.exampol 2023-03-10 23:21:16 +05:45
..
LICENSE dot.dot.dot.exampol 2023-03-10 23:21:16 +05:45
README.md dot.dot.dot.exampol 2023-03-10 23:21:16 +05:45
package.json dot.dot.dot.exampol 2023-03-10 23:21:16 +05:45
yamlish.js dot.dot.dot.exampol 2023-03-10 23:21:16 +05:45

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)