JS1K Development Harness
A collection of command-line tools for developing JS1K entries.
npm install -g js1k-harness
git clone git://github.com/af/js1k_harness.git cd js1k-harness npm link
js1k executable. It provides three main subcommands:
Creates a boilerplate js file that you can add your entry's code to.
Dumps your minified entry code to the console. You can submit this directly
to js1k, although you can probably still save a couple more bytes by editing
the output manually (removing
Full command list (js1k -h)
The byte savings you get from uglify-js can take you a long way, but beyond that there are a lot of clever manual tricks to slim your entry down even further. These articles have some great tips: