1.0.0 • Published 7 years ago
nipsum v1.0.0
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
1) Download nipsum and navigate to the directory
$ git clone https://github.com/btcrooks/nipsum.git
$ cd nipsum
2) Download dependencies
$ npm install
3) 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.
- Text formatting
- Publish on NPM. https://www.npmjs.com/package/nipsum