2.1.1 • Published 8 years ago

fuckword v2.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

fuckword

method

check name contains fuck word

var fuckword = require('fuckword');
var content = 'fuck';
var isIllegal = fuckword.checkContentIllegal(content);
if(isIllegal){
    console.log('name contains fuck word');
}

transfer content` word which contains fuck word to *

var fuckword = require('fuckword');
var name = 'fuck you !!!!';
var transferedContent = fuckword.transferContent(name,"*");

console.log('transferedContent is :',transferedContent);
//the result is -->>>transferedContent is :***k you !!!
2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago