a `compile` function generates an object with a `render` method
npm version 0.1.1
added `compile` documentation