Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
awesome-zalgo
Advanced tools
Readme
This library uses the Zalgo character set from Acme::Zalgo
Install with yarn:
$ yarn add awesome-zalgo
const { zalgo, banish } = require('awesome-zalgo');
// Or for babel / typescript:
// import { zalgo, banish } from 'awesome-zalgo';
// Zalgo is also available as default import. For example
// import zalgo, { banish } from 'awesome-zalgo';
// Zalgo usage
zalgo('some text')
// > ŝ̜̩͇̼̥̼́̏͢o͎͊͜ḿ̛̩̳̖͕̞̩̭ͪe͖̺̣̹̺̋̀͛̽͝ ̖͍̭͓̯̠͑͑͢t̼̪̋͌͢eͯ̋͏͖͎͍̩̭̮x̢͚̄̾̀̈ͧ̓ͩ̚t̪ͫ͝
// Banish usage
banish('ŝ̜̩͇̼̥̼́̏͢o͎͊͜ḿ̛̩̳̖͕̞̩̭ͪe͖̺̣̹̺̋̀͛̽͝ ̖͍̭͓̯̠͑͑͢t̼̪̋͌͢eͯ̋͏͖͎͍̩̭̮x̢͚̄̾̀̈ͧ̓ͩ̚t̪ͫ͝')
// > some text
// To log all the supported chars use:
const { chars } = require('awesome-zalgo/dist/chars');
console.log(chars);
ZalgoOptions
Options for the Zalgo
Kind: Type Properties
Name | Type | Description |
---|---|---|
[up] | boolean | Whether the zalgo should go up |
[middle] | boolean | Whether the zalgo should go in the middle |
[down] | boolean | Whether the zalgo should go downards |
[size] | "mini" |
string
Zalgolize any text
Kind: function
Param | Type | Description |
---|---|---|
text | string | Input text to zalgolize |
[options] | ZalgoOptions | Options for the Zalgo |
string
De-zalgolize any text
Kind: function
Param | Type | Description |
---|---|---|
purgeable | string | Text to remove zalgo from |
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Copyright © 2019, Favna. Released under the MIT License.
This project is open source and always will be, even if I don't get donations. That said, I know there are people out there that may still want to donate just to show their appreciation so this is for you guys. Thanks in advance!
I accept donations through PayPal, BitCoin, Ethereum and LiteCoin. You can use the buttons below to donate through your method of choice
Donate With | QR | Address |
---|---|---|
Donate with PayPal | ||
1E643TNif2MTh75rugepmXuq35Tck4TnE5 | ||
0xF653F666903cd8739030D2721bF01095896F5D6E | ||
LZHvBkaJqKJRa8N7Dyu41Jd1PDBAofCik6 |
FAQs
Invoke and banish the power of the Zalgo Monster
The npm package awesome-zalgo receives a total of 5 weekly downloads. As such, awesome-zalgo popularity was classified as not popular.
We found that awesome-zalgo 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.