# fast-lorem-ipsum

> Generate Lorem Ipsum string fast

Latest version **1.2.0** (published 2018-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install fast-lorem-ipsum
pnpm add fast-lorem-ipsum
yarn add fast-lorem-ipsum
bun add fast-lorem-ipsum
```

Provides the command `loremipsum`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-02-23 |
| First published | 2017-01-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 70 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Amit Gupta |
| Maintainers | amitgupta |
| Keywords | fast, lorem, ipsum, LoremIpsum, generate |

## Links

- npm: https://www.npmjs.com/package/fast-lorem-ipsum
- Repository: https://github.com/amitguptagwl/fast-lorem-ipsum
- Homepage: https://github.com/amitguptagwl/fast-lorem-ipsum#readme
- Issues: https://github.com/amitguptagwl/fast-lorem-ipsum/issues
- npm.io page: https://npm.io/package/fast-lorem-ipsum

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.2.0 (latest) — 2018-02-23
- 1.1.0 — 2017-11-10
- 1.0.2 — 2017-01-22
- 1.0.1 — 2017-01-08
- 1.0.0 — 2017-01-05
- 0.0.3 — 2017-01-04
- 0.0.2 — 2017-01-02
- 0.0.1 — 2017-01-02

## README

# [fast-lorem-ipsum](https://www.npmjs.com/package/fast-lorem-ipsum)
Generate Lorem Ipsum text quickly

**To use in a project**
```
$npm install fast-lorem-ipsum
```

```javascript
var fastLoremIpsum = require('fast-lorem-ipsum');

fastLoremIpsum("10c");
fastLoremIpsum("100w");

fastLoremIpsum(10,'c');

//Performance result (Tested on Chrome 55.0.2883 / Ubuntu (Linux) )
fastLoremIpsum(100, 'w');  //34,783,141 calls/ps
fastLoremIpsum(1000, 'w'); //31,239,051 calls/ps
fastLoremIpsum(3000, 'w'); //17,811,509 calls/ps
fastLoremIpsum(5000, 'w'); //12,929,931 calls/ps

```

**To use from command line**

```
$npm install fast-lorem-ipsum -g
$loremipsum -c 5
$loremipsum -w 5
```

**To use from browser**

Download and Include [fli.js](dist/fli.js) and use as per above snippet.


### Benchmark
Performance comparision at [coparejs](https://naturalintelligence.github.io/comparejs/?q=lorem-ipsum-vs-fast-lorem-ipsum). Worth to check

![benchmark lorem ipsum](assets/img/lorem-ipsum.png)


### Worth to mention

 - [stubmatic](https://github.com/NaturalIntelligence/Stubmatic) : A stub server to mock behaviour of HTTP(s) / REST / SOAP services.
 - **[fastify-xml-body-parser](https://github.com/NaturalIntelligence/fastify-xml-body-parser/)** : Fastify plugin / module to parse XML payload / body into JS object using fast-xml-parser.
  - [fast-lorem-ipsum](https://github.com/amitguptagwl/fast-lorem-ipsum) : Generate lorem ipsum words, sentences, paragraph very quickly.
- [Grapes](https://github.com/amitguptagwl/grapes) : Flexible Regular expression engine which can be applied on char stream. (under development)

---
_Source: https://npm.io/package/fast-lorem-ipsum · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
