Skip to content

4l4y API is a package to randomize your words to make it more sophiscated.

License

Notifications You must be signed in to change notification settings

dante4rt/4l4y-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4l4y-API

A Node.js package that transforms input text with vowel repetition and random letter casing.

Description

4l4y-api is a lightweight, easy-to-use text transformation tool. It alters the input text based on two distinct rules:

  • For text less than or equal to 8 characters: Repetition of vowels and alternating case for each character.
  • For text more than 8 characters: Randomizes the case of each character.

This package is ideal for generating unique and stylistically varied text outputs for applications such as creative writing, coding tutorials, or online forums.

Installation

Install 4l4y-api using npm:

npm install 4l4y-api

Usage

Here's a quick example to get you started:

const transformText = require('4l4y-api');
const readlineSync = require('readline-sync');

const inputText = readlineSync.question('Enter a text: ');
try {
    const resultText = transformText(inputText);
    console.log('The result is:', resultText);
} catch (error) {
    console.error(error.message);
}

Features

  • Easy to integrate into any Node.js project.
  • Two distinct text transformation rules based on input length.
  • Works with both short and long text inputs.
  • Simple CLI interface for immediate text transformation.

Contributing

Contributions are always welcome! Feel free to fork the repository and submit pull requests.

Issues

If you find any bug or have a feature request, please file an issue on GitHub.

License

This project is licensed under the ISC License - see the LICENSE file for details.

Author

Muhammad Ramadhani (Dante4rt)


Happy Text Transforming!

About

4l4y API is a package to randomize your words to make it more sophiscated.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published