Thaana Faker is a simple package that generates random Thaana language text for testing and development purposes.
npm i Iyaaan/thaana-faker
import {
word,
words,
sentence,
sentences,
paragraph,
paragraphs
} from 'thaana-faker';
// Example usage
const randomWord = word();
const randomSentence = sentence(5);
const randomParagraph = paragraph(3, 5);
console.log(randomWord);
console.log(randomSentence);
console.log(randomParagraph);
Generates a random Thaana word.
Generates a string of random Thaana words, separated by spaces.
Generates a random Thaana sentence of the specified length.
Generates a string of random Thaana sentences, separated by spaces.
Generates a random Thaana paragraph containing a specified number of sentences.
Generates a string of random Thaana paragraphs, separated by two newlines.
This project is licensed under the MIT License - see the LICENSE file for details.
This library is inspired by Dhivehi Faker. Special thanks to the contributors of the original project.