Swearing is bad! This will sanitize your string input not to include bad words.
import clean from 'swearing-is-bad';
const out = clean(`a string to be sanitized`);
npm install --save swearing-is-bad
- npm run build :
bili --format cjs --format es --js babel --flow --browser
- npm run watch :
bili -w --format cjs --format es --js babel --flow --browser
- npm run test :
jest
Contributions welcome; Please submit all pull requests the against master branch. If your pull request contains JavaScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!
Cyrus Venn Casada