Modded for Node JS, But has the working transforms.

I'm planning on changing the API to add different block types, and make it closer to Node JS formatting and away from your formatting.

This is pretty easy to plug into your class still. I only changed the function name and return value.