Fix typo in require in docs
Also fix code example
Merge pull request #184 from neoascetic/patch-1

Fix typo in require in docs