@dirkjf/cipsum
v2.0.0
Published
A tiny library for random text generating.
Downloads
5
Maintainers
Readme
Corporate Ipsum (cipsum)
A tiny library that generates random corporate text. See https://dirkjf.github.io/cipsum/ for an implementation.
Installation
yarn add -D @dirkjf/cipsum
or npm install @dirkjf/cipsum ---save-dev
Usage
import { cipsumSentence, cipsumParagraph } from '@dirkjf/cipsum';
cipsumSentence() // Returns a string containing one sentence.
cipsumSentence(4) // Returns a string containing four sentences.
cipsumParagraph(3) // Returns an array containing three paragraphs.