New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

calvin-and-hobbes-quotes

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calvin-and-hobbes-quotes

Get Calvin and Hobbes quotes

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by25%
Maintainers
1
Weekly downloads
 
Created
Source

Calvin and Hobbes quotes

Build Status

The quote list is just a JSON file and can be used wherever.
I tried picking quotes that are not too lengthy and that don't need context.

things are never quite as scary when you've got a best friend

All rights reserved to Bill Watterson for both the image above and all these brilliant quotes.

Install

$ npm install --save calvin-and-hobbes-quotes

Usage

const calvinAndHobbesQuotes = require('calvin-and-hobbes-quotes');

console.log(`“${calvinAndHobbesQuotes.random()}”`);
// returns “Life is full of surprises, but never when you need one.”

API

.all

Type: array

List all quotes.

.random()

Type: function

Random quote.

CLI

$ npm install --global calvin-and-hobbes-quotes
$ calvin-and-hobbes-quotes --help

Usage:
  $ calvin-and-hobbes-quotes

Commands:
  Options:
    -h, --help      Print usage
    -a, --all       Print all Calvin and Hobbes quotes
    -s, --say       Speak with cowsay

Examples:
  $ calvin-and-hobbes-quotes                      # prints a random quote
  $ calvin-and-hobbes-quotes -a                   # lists all quotes
  $ calvin-and-hobbes-quotes -s                   # speaks a random quote with cowsay

Contributing

See a quote that is not in the comics or has an error? Please create an issue or open a pull request.
Want to add a quote? Make sure the quote is present in the original comics and use proper quotation characters.


Inspired by reading Calvin and Hobbes and bumping into cat-names and random-tree-names.

Keywords

FAQs

Package last updated on 25 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc