Parser for Glance
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.npmignore
package.json
readme.md
wallaby.js

readme.md

Glance Parser

A basic parser for Glance.

Install

npm install glance-parser

Basic usage

In a node.js script

var glanceParser = require('glance-parser');

var result = glanceParser.parse("scope > subject");

console.log(result)

Outputs

 [
    [{"label": "scope", "options": []}],
    [{"label": "subject", "options": []}]
 ]