JGP.NLipsum
1.0.2
dotnet add package JGP.NLipsum --version 1.0.2
NuGet\Install-Package JGP.NLipsum -Version 1.0.2
<PackageReference Include="JGP.NLipsum" Version="1.0.2" />
paket add JGP.NLipsum --version 1.0.2
#r "nuget: JGP.NLipsum, 1.0.2"
// Install JGP.NLipsum as a Cake Addin
#addin nuget:?package=JGP.NLipsum&version=1.0.2
// Install JGP.NLipsum as a Cake Tool
#tool nuget:?package=JGP.NLipsum&version=1.0.2
NLipsum : Lorem Ipsum (Lipsum) Generator and Library for .NET Core 6.0+ (C#)
This project is a fork of Alex C Pendleton's NLipsum (see: https://github.com/alexcpendleton/NLipsum)
Similar to the Python Lipsum, you are not bound to generate only "Lorem ipsum..." style text. There are a dozen different text-generation sources in several languages, all of which come from the Python Lipsum. You can also easily include your own text source!
The built in text sources:
- Lorem Ipsum (Lipsum) (of course)
- Childe Harold's Pilgrimage (Lord Byron)
- Decameron - Novella Prima (Giovanni Boccaccio)
- Faust (Goethe), German
- In der Fremde (Heinrich Heine), German
- Le Bateau Ivre (Arthur Rimbaud), French
- Le Masque (Charles Baudelaire), French
- Nagyon fáj (József Attila), Hungarian
- Ómagyar-Mária siralom (Ismeretlen), Hungarian
- Robinsono Kruso (Daniel Defoe), Esperanto
- The Raven (Edward Allen Poe), English
- Tierra y Luna (Federico García Lorca), Spanish
NLipsum will choose a random selection of words from your text source and combine them into sentences and combine those sentences into paragraphs. You can request very specific criteria for your generated text or just let the defaults go to work. Generating text in HTML format is a breeze and there are built-in utility methods for HTML generation (paragraph tags).
Meta
This is a fairly lazy port of Alex's work, aside from replacing arrays with lists this should essentially function identically.
Please feel free to send me any feedback or tell me about a project in which you've used NLipsum. I'd love to hear about it.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.