@coljung/sensitive-words

1.0.0 • Public • Published

Example

npm create package demo

$npm i sensitive-words -S
const {sensitiveWords} = require(sensitive-words);
// ES2015 modules
import {sensitiveWords} from 'sensitive-words';

const filtered = sensitiveWords(
    'the new apple macbook pro has a touchbar',['pro', 'touchbar']
);

console.log(filtered);

Package Sidebar

Install

npm i @coljung/sensitive-words

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • coljung