JavaScript code straightener
CoffeeScript HTML JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
examples
lib
src
test
tools
.gitattributes
.gitignore
Gruntfile.js
LICENSE
README.md
package.json

README.md

JSRoller

Try the demo!

Source code transformation tool that will:

  • straighten out your code
  • eliminate any camelcase/snakecase/rabbitcase related issues
  • get rid of any magic numbers/strings
  • drastically reduce the noise level in the code

Small examples

Original Rolled Header
var a, b, c; var _____, ______, _______;
function f() {} function _____() {}
window ___ var ___ = window;
globalVar ___[____._]; var ___ = window; var ____ = { _: 'globalVar', };
var a; a.b; var _____; _____[_._]; var _ = { _: 'b', };
123 __._; var __ = { _: 123, };