refactor the interface
change docs
fix typos
Merge pull request #1 from marrowleaves/master

Hi, this is awesome. Thank you for the contribution. I'll now release a new version in the `npm` so you can use the latest changes.