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

Readme

Keywords

none

Package Sidebar

Install

npm i quoty

Weekly Downloads

2

Version

1.0.0

License

BSD-3-Clause

Last publish

Collaborators

  • paulavery