isaacs/npmjs.org — pull request #58 by mfncooper (2012-04-01 03:10:49+00:00)
Title: Trim name properly while validating it

The current regexp to trim the name is incorrect. Just use trim() instead. Fixes #57.