npm.io
1.0.3 • Published 10 years ago

carini

Licence
MIT
Version
1.0.3
Deps
0
Vulns
0
Weekly
0

carini Build Status

Yeah thats what i do... clean the garbage

Install

$ npm install --save carini

Usage


const carini = require('carini');

const yourString1 = 'examle???string.@@!!';

const result = carini(yourString1, ['?','@','.','!']);

console.log(result);
//=> 'examlestring'

const yourString2 = '% % %t e s t$ $ $ ';

const result = carini(yourString2, ['%t',' ', '%', '

API

carini(str, [options])
str

Type: string

String which need to be processed.

options

Type: array

Elements need to be removed.

License

MIT haotian Chang

, 't']); console.log(result); //=> 'es'

API

carini(str, [options])
str

Type: __INLINE_CODE_0__

String which need to be processed.

options

Type: __INLINE_CODE_1__

Elements need to be removed.

License

MIT haotian Chang

Keywords