1.0.0 • Published 4 months ago

randorem v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

randorem

Randomly generate lorem ipsum like words, sentences or paragraphs.

Install

$ npm i --save randorem

Import

import Randorem from 'randorem'

Usage

Randorem.word({ minLetters: 2, maxLetters: 4 })
// or
Randorem.word() // default between 2 and 10 letters
// => 'siny'
Randorem.sentence({ minWords: 2, maxWords: 4 })
// or
Randorem.sentence() // default between 2 and 10 words
// => 'Siny myd kujacobede'
Randorem.paragraph({ minSentences: 2, maxSentences: 3 })
// or
Randorem.paragraph() // default between 8 and 15 sentences
// => 'Siny myd kujacobede faco fimymup. [...] Vylevo pete sinihotypu lebid hicatecupylo qokalyjitadixy.'
1.0.0

4 months ago

0.1.0

4 months ago