@favware/zalgo
v3.1.3
Published
Invoke and banish the power of the Zalgo Monster
Downloads
742
Maintainers
Readme
@favware/zalgo
Invoke and banish the power of the Zalgo Monster
Key Features
- Useable in NodeJS through package manager of choice
- Typesafe
- Bundled with Rollup for maximum size reduction (only 1kB minified + gzipped!) and ES module support
- Generated TypeScript declarations
Install
yarn add @favware/zalgo
# npm install @favware/zalgo
Usage
const { zalgo, banish, chars } = require('@favware/zalgo');
// Or for ES Modules:
// import zalgo, { banish, chars } from '@favware/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:
console.log(chars);
API Documentation
For the full API documentation please refer to the TypeDoc generated documentation.
Buy us some doughnuts
Favware projects are and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!
We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.
| Donate With | Address | | :-------------: | :-----------------------------------------------: | | GitHub Sponsors | Click Here | | Ko-fi | Click Here | | Patreon | Click Here | | PayPal | Click Here |
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!