Jabber
Simple random word / paragraph / lorem ipsum / dummy text generator.
Supports fake name, email address.
CodeSandbox demo
Features
- Capitalizes first letter of the sentences.
- Add theme words to make the sentences look somewhat related to a theme and not complete jabber.
- No dependencies, light weight
- Configurable density of theme words.
- Generate fake names and emails
- Add additional vowel/consonant characters to pre configured english alphabets.
Using without installing (NPX)
Generate a word of 9 letters.
npx jabber -w 9
Generate a paragraph of 25 words.
npx jabber -p 25
Installation
npm install jabber
Usage Example
const Jabber = require("jabber");
Instantiate Jabber
new Jabber( themeWords: string[],
themeWordDensity: number,
extraVowels: string,
extraConsonants: string ) : Jabber
Without theme words
const jabber = new Jabber();
jabber.createWord(6);
jabber.createWord(5, true);
jabber.createFullName();
const nameNoSalutation = jabber.createFullName(false);
jabber.createEmail();
const emailWithCustomDomain = jabber.createEmail("jabber.com");
jabber.createParagraph(30);
Usage with theme words
const themeWords = [
"Content curation",
"Engagement",
"Embedding",
"Impressions",
"Influencer",
"Mentions",
"Microblogging",
"Organic",
"Reach",
"Social graph",
"User-generated content (UGC)",
"Affiliate marketing",
"Bounce rate",
"Call to Action (CTA)",
"Click through rate (CTR)",
"SDK (Software Development Kit)",
"Web apps",
];
let jabber = new Jabber(themeWords, 2);
jabber.createWord(6, true);
jabber.createParagraph(50);
Result
Limebojetu Pixels per Inch (PPI) cico Selector. Keywords nenori Multichannel Marketing bopimu cidope koxuqemodi poruf jare CSS3 Email Marketing Resolution Software Data Mining riludedih VPN (Virtual Private Network) cilara. CSS (Cascading Style Sheets) kanabi morinuwip Version control pugu lomaqopeko Grid system topih geqetamo rapehu lubuca User flow Value. Lub Mentions kimadiqubu kefic. Yibon dedu. Li. Reach Property tijacodur. Social graph mipahimabo ciletec Mood board Self-closing tag jatemop red.
Performance
Since Jabber is extreamly light weight, it is very performant.
Changelog
v.1.5.1 TypeScript support - DEMO