Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shreyasminocha/calendar-facts

Command line utility to produce xkcd inspired calendar trivia
https://github.com/shreyasminocha/calendar-facts

xkcd xkcd-1930

Last synced: 16 days ago
JSON representation

Command line utility to produce xkcd inspired calendar trivia

Awesome Lists containing this project

README

        

# calendar-facts

[![Latest release](https://img.shields.io/github/release/shreyasminocha/calendar-facts.svg)](//github.com/shreyasminocha/calendar-facts/releases/latest)

[![npm](https://img.shields.io/npm/v/xkcd-calendar-facts.svg)](//npmjs.com/package/xkcd-calendar-facts)

A command line utility to produce (pretty gibberish) calendar facts. Inspired by [xkcd 1930](//xkcd.com/1930).

## Installation

Assuming you have [npm installed](//www.npmjs.com/get-npm), run the following in your terminal:

```shell
npm install -g xkcd-calendar-facts
```

## Usage

```
Usage: calendar-facts [options]

Options:
-c, --consequence Show fact with consequence [boolean]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]

Examples:
calendar-facts Show a random calendar fact
calendar-facts -c Show a random calendar fact with consequence
```

## License

Licensed under the [MIT License](//shreyas.mit-license.org/2017).

![Calendar facts](https://imgs.xkcd.com/comics/calendar_facts_2x.png)