pluto-planet

Filter out a list of sensitive words.

Usage no npm install needed!

<script type="module">
  import plutoPlanet from 'https://cdn.skypack.dev/pluto-planet';
</script>

README

Example

$ npm install pluto-planet  --save
const {plutoPlanet} = require('pluto-planet'); 
// ES2015 modules
import {plutoPlanet} from 'pluto-planet';

const sensitiveWords = 
    plutoPlanet(
        'the new macbook pro will have a touchbar.', 
        ['pro', 'touchbar']
    );

console.log(sensitiveWords);
// the new macbook ***** will have a ****.