Add docs
Automatically rewritten for npm.