Packages / rupm

rs-text-lorem 0.1.0

Deterministic lorem ipsum generator for words, sentences and paragraphs from a seed

Install

cargo add rs-text-lorem --registry rupm

In Ruststudio: Packages, search for rs-text-lorem, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.

Versions

README

# rs-text-lorem

Deterministic lorem ipsum generator for words, sentences and paragraphs from a seed.

## Install

`rupm add rs-text-lorem` (or `cargo add rs-text-lorem --registry rupm`).

## Usage

```rust
let w = rs_text_lorem::words(1, 5); // five words
let p = rs_text_lorem::paragraphs(1, 2);
```

## API overview

- `words(seed, n)`, `sentence(seed)`, `sentences(seed, n)`, `paragraph(seed)`, `paragraphs(seed, n)`.
- The same seed always gives the same text.