Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicfontaine/clpsm
Lorem Ipsum as a Node Module, or Command Line > Clipboard. No Bullshit
https://github.com/nicfontaine/clpsm
agile bash clipboard design-tools fuck-trump hi-mom js-framework lorem-ipsum material-design pixel-perfect scrum startup xxx
Last synced: 1 day ago
JSON representation
Lorem Ipsum as a Node Module, or Command Line > Clipboard. No Bullshit
- Host: GitHub
- URL: https://github.com/nicfontaine/clpsm
- Owner: nicfontaine
- Created: 2017-04-08T00:16:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T17:55:17.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T09:31:09.084Z (4 months ago)
- Topics: agile, bash, clipboard, design-tools, fuck-trump, hi-mom, js-framework, lorem-ipsum, material-design, pixel-perfect, scrum, startup, xxx
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/clpsm
- Size: 3.77 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Clipboard + Lorem Ipsum
![clpsm logo](https://nicfontaine.com/dev/clpsm-logo-horizontal.png)
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](https://giphy.com/gifs/tqKjGPAgbNVPq/html5) and supports [4k textures](http://media.kotaku.foxtrot.future.net.uk/wp-content/uploads/sites/52/2016/11/ac2.jpg).
Nah, jk.. it just uses **clipboardy**.# NPM
[npmjs.com/package/clpsm](https://www.npmjs.com/package/clpsm)
# Use As Console > Clipboard```bash
$ 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
```bash
$ npm i clpsm --save # Install
``````javascript
const clpsm = require("clpsm") // Requireclpsm(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 for `s` short, or `p` html tagged paragraphs
- Can also be called with no args `clpsm()`, or just a Number `clpsm(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](https://nicfontaine.com)
twitter: [@ngpfontaine](https://twitter.com/ngpfontaine)### License
Buy it, use it, break it, fix it, trash it, change it, mail, upgrade it.