Skip to content

daxxog/str-allow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Filter string characters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published