Skip to content

eosterberg/Coffee-Formatter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coffee-Formatter

A formatter for CoffeeScript

Status

The first version of this project is completed. I will publish it on npm ASAP.

Usage

node formatter.js [Your Files]

Or if you want to use coffee

coffee formatter.litcoffee [Your Files]

Example:

coffee formatter.litcoffee sample/vdvc.coffee

Things to note

This project is written in Literate CoffeeScript (extension '.litcoffee'), which isn't syntax-highlighted by Github at this moment.

To read the code, it's suggested to go to docs/ folder. For example, docs/formatter.html contains properly highlighted code for formatter.litcoffee.

To run the test suite, install Mocha and run mocha in the base directory.

TODO

  1. Get rid of external dependencies.
  2. Make a build script.

License

WTFPL.

About

A formatter for CoffeeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 54.0%
  • CSS 46.0%