Catalog npm
Back to packageRELEASE DETAILS

1.0.1

npm

4l4y-api

A package that transforms input text with vowel repetition and random letter casing, and logs the result.

4l4yapigeneratortext
Published13 Jan 2024
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

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!

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-Qh3+mi0wmBMANI8RuTw8gAvFjUuI91oq0x7mZ62pIy/6+1HO/GHUFgqtYFPydhLkdM26cVxkUABunJEcafKtsg==",
  "shasum": "03da43033c869f39bf3369a89fc5043ddb798d4b",
  "tarball": "https://registry.npmjs.org/4l4y-api/-/4l4y-api-1.0.1.tgz",
  "fileCount": 4,
  "unpackedSize": 4316,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQD9isfG64iICiLe2XGByGS60J7pLIAe3Z+DDDszRmSq3gIgP8GDwfMvi7vnjvZFoN31Y21oo5VOSpnbv00D+NVQEKA="
    }
  ]
}

Repository

PENDING
dante4rt/4l4y-api

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:12 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:532b86dad2773fd0cfdd92289bbfd05021dfe4f2d36c6b256b97045185008cef

Other collected versions

1.0.013 JanView all collected versions →