Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/isaacs/yamlish

A parser for the yamlish format
https://github.com/isaacs/yamlish

Last synced: 3 months ago
JSON representation

A parser for the yamlish format

Awesome Lists containing this project

README

        

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)