Skip to main content

lorem_ipsum.ts

Typescript

How to use it :

import { loremIpsum } from 'https://deno.land/x/lorem_ipsum/mod.ts'

/*
the first parameter determines the number of paragraphs (only integers)
the second parameter determines the lenght of each of them (between short, medium, long and very long)
*/
console.log(await loremIpsum(3, 'medium'));