Lörem Ipsum - generated faux Swedish for the masses!
Small svelte app for showcasing the npm package loerem
.
Usage:
npm install loerem
import lörem from "loerem";
console.log(lörem());
https://loremipsum-svelte.vercel.app/
Comes with a multitude of options:
Takes a settings
object wih these properties (all optional):
{
numberOfParagraphs = 1,
sentencesPerParagraph = 10,
maxSentenceLength = 10,
minSentenceLength = 1,
isHeadline = false,
isName = false,
nyordFrequency = .1,
neologismerFrequency = .05,
namnFrequency = 0,
buzzFrequency = 0,
useLörem = true,
punchline = 'Du kan vara drabbad.',
wrapInDiv = false,
paragraphStartWrap = '<p>',
paragraphEndWrap = '</p>',
alwaysWrapParagraph = false
}