Skip to content

sophek/use-filter-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

@sophek/use-filter-words

This is a custom react hook to filter bad words from a string.

Install

$ npm install @sophek/use-filter-words

Usage

const [words, setWords] = useFilterWords("What the hell is this?");

//=> "What the **** is this?!"

About

A react hook to replace bad word in a string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published