vulgarism-disposer

1.0.0 • Public • Published

VulgarismDisposer

Build Status codecov Dependency Status devDependency Status

Library to disposing unwanted phrases from strings.

Usage

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'

/vulgarism-disposer/

    Package Sidebar

    Install

    npm i vulgarism-disposer

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • magic96