0.1.3 • Published 6 years ago

string-filter v0.1.3

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

string-filter

NOTE: string-filter was renamed to @extra-string/filter. NPM

Filter characters that pass the test, like Array.filter().

const filter = require('string-filter');
// filter(<string>, <testFn>, [thisArg])

filter('g00df00d', (v) => v<='f');
// '00df00d'
filter('badfood', (v) => v<='f');
// 'badfd'
filter('', (v) => v<='f');
// ''
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago