A formatter for CoffeeScript
CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 4 commits ahead of derekchiang:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
.npmignore
Gruntfile.coffee
README.md
package.json

README.md

Coffee-Formatter

A formatter for CoffeeScript

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.

Original Author

Special thanks to derekchiang who originally developed this project.

License

WTFPL.