limit-alphanumeric
v1.0.0
Published
Limit a string to alphanumeric characters
Downloads
10
Maintainers
Readme
limit-alphanumeric
Limit a string to alphanumeric characters
Install
$ npm install --save limit-alphanumeric
Usage
var limitAlphanumeric = require('limit-alphanumeric')
limitAlphanumeric('foo./;:()123')
//=> foo123
API
limitAlphanumeric(str)
-> string
str
Required
Type: string
An input string from which to strip non-alphanumeric characters.
License
MIT © Ben Drucker