Library to disposing unwanted phrases from strings.
import { default as VulgarismDisposer } from 'vulgarism-disposer';
const disposar = new VulgarismDisposer(['some unwanted phrase']);
disposar.encode('blabla some unwanted phrase').then(console.log); // 'blabla [vulgarism#0]'
disposar.decode('blabla [vulgarism#0]'.then(console.log)); // 'blabla some unwanted phrase'