Description
A package to remove zalgo and common confusable characters from strings.
Read Full Documentation here.
Features
- Written In Typescript
- Offers CJS, ESM and UMD builds
- Full TypeScript & JavaScript support
Note
This project is not perfect, false-positives may happen.
Installation
You can use the following command to install this package, or replace npm install with your package manager of choice.
npm i @imranbarbhuiya/decancer
Usage
import { decancer, isCancerous } from '@imranbarbhuiya/decancer';
isCancerous('hello world');
isCancerous('vοΌ₯β‘π π½πΕβο½ Ε£δΉππ£');
const result = decancer('HΠ£PΞΠ―_XD');
Buy me some doughnuts
If you want to support me by donating, you can do so by using any of the following methods. Thank you very much in advance!
![Buy Me a Coffee at ko-fi.com](https://cdn.ko-fi.com/cdn/kofi4.png?v=3)
Contributors β¨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!