enye
v1.0.1
Published
Have you ever wanted to send the letter ñ easily? Well, now you can! (It works.)
Downloads
21
Maintainers
Readme
Enye
A lightweight and customizable JavaScript library that generates ñ strings. It supports multiple styles, randomization, 2D/3D ñs, and more.
Installation
npm install enyeOr with Yarn:
yarn add enyeQuick Start
import { EnyeGenerator, enye } from "enye";
console.log(enye); // ñ
const enye = new EnyeGenerator({
amount: 5,
spiciness: "hot",
randomize: true,
style: "glitchy",
});
console.log(enye.generate());Configuration
| Option | Type | Default | Description |
| ----------- | ---------------------------------------- | ----------- | ------------------------------------- |
| amount | number | 1 | Number of ñs to generate |
| spiciness | 'mild', 'hot', 'extra-hot' | 'mild' | Adds spice emojis 🌶️ / 🔥 |
| dimension | '2d', '3d' | '2d' | Toggles between 2D or glitchy 3D mode |
| uppercase | boolean | false | Converts output to uppercase |
| randomize | boolean | false | Randomizes ñ variants |
| style | 'default', 'bold', 'italic', 'glitchy' | 'default' | Adds text formatting |
Warning: Setting
spicinessabove'extra-hot'will cause an error.
