Skip to content

kassens/javascript-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Formatter

A Javascript formatter based on a PEG using PEG.js by David Majda.

Currently, it's tested with Node, but should be compatible with other Javascript environments.

Getting Started

node test.js

Buyer Beware!

Currently, comments are discarded and it may still miss some uncommon Javascript constructs.

Credits

The javascript.pegjs is based on an example of PEG.js.

About

A Javascript formatter written in Javascript using a PEG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages