add option allowSpace and documentation. adds to issue #4
Merge pull request #11 from aaronz8/master

add option allowSpace and documentation. adds to issue #4
Automatically rewritten for npm.