just some build stuff to make this usable outside of tests :P

this is already on npm

wheeee!