quoty

1.0.0 • Public • Published

Terminal quotes

This module should be globally installed and provides a tool to prettyprint quotes to your terminal.

npm install -g quoty
cat quotes.json | quoty

quotes.json

{
	"name": "Calvin and Hobbes",
	"quotes": [{
		"dialog": [
		    {
				"person": "Calvin",
		    	"text": "I'm a genius, but I'm a misunderstood genius."
		    },
		    {
		    	"person": "Hobbes",
		    	"text": "What's misunderstood about you?"
		    },
		    {
				"person": "Calvin",
				"text": "Nobody thinks I'm a genius."
		    }
		]
	}]
}

If a line of dialog has no person property, it will be treated as a scene description. If multiple quotes are provided, one is picked at random.

Output

Screenshot

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i quoty

Weekly Downloads

0

Version

1.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • paulavery