![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@imranbarbhuiya/decancer
Advanced tools
A package to remove zalgo and common confusable characters from strings.
A package to remove zalgo and common confusable characters from strings.
Read Full Documentation here.
Note This project is not perfect, false-positives may happen.
You can use the following command to install this package, or replace npm install with your package manager of choice.
npm i @imranbarbhuiya/decancer
import { decancer, isCancerous, cancerPercentage } from '@imranbarbhuiya/decancer';
// Check if a string is cancerous
isCancerous('hello world'); // false
isCancerous('vEⓡ𝔂 𝔽𝕌Ňℕy ţ乇𝕏𝓣'); // true
cancerPercentage('vEⓡ𝔂 𝔽𝕌Ňℕy ţ乇𝕏𝓣', true); // 67
cancerPercentage('My name is Stale'); // 0
// Decancer a string
const result = decancer('Ḣ͚͇͎̰̙̗̹́͟e̞̪̫̣͖̱͍̻̲ͧ̌̀̚̚͘͜w̸̡͕̽̈̾ͬw̥̪͈̖̻ͭ̈́̽ͫ̈͘ơ̢̞ͭͣ̅̑ͭ͗̒̃ ̸͔̝̟̟̳̝͋̄ͥ̈͞W̸͍̬̎̊̎̑͆̐̀̕ò̰̙̺̋ͭ͗́̄̚͝r̪͈̹͈ͧ̅ͨ͛͋͛̃͒̌́l̴̡̰̰͇̪̘̱ͯ̈̓ͨ̕d͎͙̥̩̔̾ͦ̀͞'); // 'Hewwo World'
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!
Thanks goes to these wonderful people:
FAQs
A package to remove zalgo and common confusable characters from strings.
The npm package @imranbarbhuiya/decancer receives a total of 0 weekly downloads. As such, @imranbarbhuiya/decancer popularity was classified as not popular.
We found that @imranbarbhuiya/decancer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.