nipsum
v1.0.0
Published
Nipsum allows you to generate words, sentences and paragraphs of dummy text in the command line.
Downloads
2
Readme
Nipsum
Node ipsum allows you to generate dummy text in the command line.
Dummy text generator written by Fatih Kadir Akın - https://github.com/f/loremjs
Installation
- Download nipsum and navigate to the directory
$ git clone https://github.com/btcrooks/nipsum.git
$ cd nipsum
- Download dependencies
$ npm install
- Install nipsum globally (If at first you don't succeed, sudo and try again :smirk: )
$ npm install -g
Usage
Nipsum takes a single option followed by an argument:
$ nipsum [OPTIONS] [ARGS]
Generate words:
$ nipsum -w <count>
Generate sentences:
$ nipsum -s <count>
Generate paragraphs:
$ nipsum -p <count>
you can alseo format text using --format=«option»
:
$ nipsum -w «count» --format=caps
$ nipsum -w «count» --format=titlecase
Help:
$ nipsum -h
Getting Fancy :sunglasses:
Pair nipsum
with pbcopy
to send text straight to your clipboard.
$ nipsum -p 5 | pbcopy
Roadmap
- [ ] Use a flag to send text to the clipboard.
- [ ] Generate by character count.
- [x] Text formatting
- [x] Publish on NPM. https://www.npmjs.com/package/nipsum