Skip to content

Makes your code much more organised by grouping each type of token in your code into columns.

License

Notifications You must be signed in to change notification settings

JochCool/organised-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript code is always such a mess! This program takes your program and organises it into neat little columns. I've even done this with this very program, so take a peek in index.js.

In order to use this program, you will need to install NodeJS first. Run this program using Node and pass in the input file as the first parameter, and the output file as the second. Here's an example: node index.js "my code.js" output.js

This program was inspired by this comment on Reddit. Thanks, u/Pfuenzle and u/Per-mille! Also thanks to u/MajesticThrust for some testing.

I know that the columns that my transpiler generates are not exactly the same as in the original post, but differentiating variable names from class names is an absolute nightmare.

The code is available under an MIT license. Have fun!

About

Makes your code much more organised by grouping each type of token in your code into columns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published