0.1.3 • Published 7 years ago

string-filter v0.1.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.1.2

7 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago