1.1.0 • Published 2 years ago

2d-sensitive-words v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

NPM Sensitive words package

from: https://egghead.io/lessons/javascript-add-version-control-to-npm-packages-using-git-init

Example

  $ npm install sensitive-words --save-dev
const { sensitiveWords } = require('2d-sensitive-words');

const filtered = 
  sensitiveWords(
    'The new FIFA 23 Game will include the Qatar world cup', 
    ['cup', 'FIFA']
  );
  /// The new ***** 23 Game will include the Qatar world *****