Skip to content

digital-taco/slang-ipsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://zachintosh.github.io/slang-ipsum/

slang-ipsum

In a world where another lorem ipsum generator shouldn't be needed, it was. Slang Ipsum gives you the newest flavor of lorem ipsum generated text yet - the kind our "fellow kids" will be happy to read.1

Bask in the hunnit-p dank dopeness of this heckin woke generator. So yolo. So lit.2

1. Probably not, truthfully, since kids nowadays can't read.
2. The author is aware of his inability to properly use slang.

CLI

Install globally to use the slang-ipsum CLI.

> npm install -g @digital-taco/slang-ipsum

The following will echo out slang ipsum as paragraphs or sentences

> slang-ipsum [paragraph|sentence] [<number>] [--slang-only]

For example, slang-ipsum paragraph 2 will output:

Torquent imperdiet iaculis fermentum suscipit augue vitae heckin per bibendum condimentum habitant extra turnt rhoncus taciti. Dictum proin aptent vulputate himenaeos curabitur bae morbi. Magna sem cubilia goat volutpat hendrerit quam gucci ghost hendrerit mollis consequat vulputate ut semper maecenas donec.

Where the flag slang-ipsum paragraph 2 --slang-only will output:

Ima dope snack heckin shook stan swerve salty. Bruh clap back humble brag dank gucci ship snack sheeple jomo gucci beat yolo lay flame woke sheeple. Blessed blessed gucci bruh ratchet swol lit trill snatched. Swol lit ratchet bruh low key humble brag yaas.

API

slang-ipsum exports two function: sentence() and paragraph().

sentence()

import { sentence } from '@digital-taco/slang-ipsum'
// OR if in Node
const { sentence } = require('@digital-taco/slang-ipsum')

const slangText = sentence({ wordCount: 7, slangOnly: true })
// Result:
// At crazy gucci posuere at consectetur swerve congue hangry.

sentence takes an options object, which has two options. Both are optional.

Option Default Description
wordCount Randomized between 4 - 17 The number of words in the generated sentence.
slangOnly false If true, only slang words are used. All lorem ipsum words are removed.

paragraph()

import { paragraph } from '@digital-taco/slang-ipsum'
// OR if in Node
const { paragraph } = require('@digital-taco/slang-ipsum')

const slangParagraph = sentence({ sentenceCount: 5, slangOnly: false })
/** Result:
 Himenaeos magna woke amet bye felicia. Erat et aliquet habitant ipsum bounce cras turpis torquent sapien lacinia beat luctus brah a metus mauris. Ut inceptos fames non curabitur etiam rhoncus et stan nullam donec ac ultrices adulting quisque quis gravida. Ante nibh ad yaas vitae varius savage mollis varius nisl bruh humble brag lit ut. Gassed bye felicia rutrum dope pellentesque fringilla velit.
 */

paragraph takes an options object, which has two options. Both are optional.

Option Default Description
wordCount Randomized between 3 - 10 The number of sentences in the generated paragraph.
slangOnly false If true, only slang words are used. All lorem ipsum words are removed.

Releases

No releases published

Packages

No packages published