Skip to content

magic96/VulgarismDisposer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VulgarismDisposer

Build Status codecov Dependency Status devDependency Status

Library to disposing unwanted phrases from strings.

Installation

npm install vulgarism-disposer [--save]

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'

About

Library to disposing unwanted phrases from strings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published