@rgrove/parse-yaya

0.0.1 • Public • Published

parse-yaya

A Yet Another Yet Another Markup Language parser for Node.js and browsers.

npm version Bundle size

Contents

Installation

npm install @rgrove/parse-yaya

Or, if you like living dangerously, you can load the minified UMD bundle in a browser via Unpkg and use the parseYaya global.

Features

Usage

const parseYaya = require('@rgrove/parse-yaya');
parseYaya('{"key": "value",/* and now, an array */"key2": ["value1", "value2",]}, // trailing comment');

The result is a JS object with the following structure:

{
  key: 'value',
  key2: [ 'value1', 'value2' ]
}

Why?

Why not?

License

ISC License

/@rgrove/parse-yaya/

    Package Sidebar

    Install

    npm i @rgrove/parse-yaya

    Weekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Unpacked Size

    5.83 kB

    Total Files

    8

    Last publish

    Collaborators

    • rgrove