str-allow

Filter string characters.

npm install str-allow
4 downloads in the last week
12 downloads in the last month

str-allow

Filter string characters.

Install

stable

npm install str-allow

edge

npm install https://github.com/daxxog/str-allow/tarball/master

Example

var strAllow = require('str-allow'),
    filter = strAllow('1234567890');

console.log(filter('a1bc2de3f')); //outputs 123
npm loves you