clpsm
v1.3.0
Published
Lorem ipsum as a module, or to clipboard via the command line
Downloads
6
Readme
Clipboard + Lorem Ipsum
The greatest tool you always knew you never needed. 'Cause fuck those shitty monetized sites that take 3 clicks and 700 http requests to get to some text that you copied into a Slack snippet back in the Snow Leopard days but never starred.
Now all of your "rock star" design needs are just a mainline npm speedball away. Just make sure your terminal is running the latest version of Bootstrap and supports 4k textures.
Nah, jk.. it just uses clipboardy.
NPM
Use As Console > Clipboard
$ sudo npm i clpsm -g # Install
$ clpsm # Single paragraph
$ clpsm 3 # 3 paragraphs
$ clpsm 50 -s # 50 short paragraphs
$ clpsm 5 -s -p # 5 short, html tagged paragraphs
Use As Module
$ npm i clpsm --save # Install
const clpsm = require("clpsm") // Require
clpsm(2,["p"]).then( text => {
console.log(text)
}, err => {
console.log(err)
})
// 2 html tagged paragraphs will be logged to console...
- Returns a promise with Lorem Ipsum text
- Takes arguments:
(Number, ["s","p"])
Number
is paragraph length[]
can contain flags fors
short, orp
html tagged paragraphs- Can also be called with no args
clpsm()
, or just a Numberclpsm(200)
Community Response
Top notch stuff ...it's the next systemd!
- Linus Torval (Free Software Lobbyist)
Absolutely not proprietary
- Richard Stollnam (Acronym Wizard)
Makes me rethink everything I thought I knew about the Unix Philosophy.
- Dennis (The Menace) Richie
Latin is the fundamental building block of our language.
- Mrs. Sullivan, (6th Grade Literature)
More
website: nicfontaine.com
twitter: @ngpfontaine
License
Buy it, use it, break it, fix it, trash it, change it, mail, upgrade it.