Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 379 Bytes

readme.md

File metadata and controls

27 lines (20 loc) · 379 Bytes

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": []}]
 ]