Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kassens/javascript-formatter

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.