0.0.1 • Published 9 years ago

is-valid-username v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

is-valid-username

Validate alpha-numeric username

Install

npm install is-valid-username

Usage

var isValidUsername = require('is-valid-username');

isValidUsername('foobar') // true
isValidUsername('fooBar5') // true
isValidUsername('455') // true
isValidUsername('foo_bar') // false
isValidUsername('foo-bar') // false
isValidUsername('foo.bar') // false

License

MIT