Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/isaacs/yamlish
- Owner: isaacs
- License: isc
- Archived: true
- Created: 2011-04-07T00:37:12.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-05-21T00:59:46.000Z (over 9 years ago)
- Last Synced: 2024-07-03T23:08:52.144Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 126 KB
- Stars: 22
- Watchers: 4
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tap - yamlish - YAML-block parser. (Consumers / JavaScript)
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)