Skip to content

sajansharmanz/edgejs-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EdgeJS Parser

This is a small parser for HTML and EdgeJS.

Built using Chevrotain.

Note: This will built specifically to build a prettier plugin for EdgeJS templates, so may not serve all purposes.

Installation

npm i edgejs-parser

Usage

There is a single export parser that can be used and will return an AST.

import edgeParser from "edgejs-parser";

If you want to see the format of the AST read the visitor.js file.

Contributing

As with most open source projects my time is limited and I do the best I can.

If you spot an issue, feel free to open a Bug and I will get too it when I can, or even better yet feel free to open a PR.

About

EdgeJS Parser using Chevrotain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published