sensitive-words-augie

Filters out a list of sensitive words

Usage no npm install needed!

<script type="module">
  import sensitiveWordsAugie from 'https://cdn.skypack.dev/sensitive-words-augie';
</script>

README

Example

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

// ES2015

import { sensitiveWords } from 'sensitive-words'

const {sensitiveWords} = require('sensitive-words')

const filtered = sensitiveWords(
  'The new apple macbook pro will have a touchbar',
  ['pro', 'touchbar']
)

console.log(filtered)

// The new apple macbook ***** will have a *****'