Generate random swahili words
yarn add swahiliimport swahili from 'swahili';
const sw = new swahili();
console.log(sw.random()); // Output: fedhaimport swahili from 'swahili';
const sw = new swahili(10); // json output with 10 words
console.log(sw.random()); import swahili from 'swahili';
const sw = new swahili(10); // string output with 10 words
console.log(sw.paragraph()); import swahili from 'swahili';
const sw = new swahili(10); // array output with 10 words
console.log(sw.randomArray()); Please see CHANGELOG for more information what has changed recently.
$ yarn testPull requests are welcome. Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email hello@alphaolomi.com instead of using the issue tracker.
- Alpha Olomi hello@alphaolomi.com
- All Contributors
The Apache 2 License. Please see License File for more information.
