Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shreyasminocha/calendar-facts
- Owner: shreyasminocha
- Created: 2017-12-26T03:20:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T01:55:23.000Z (over 1 year ago)
- Last Synced: 2024-11-20T01:37:16.329Z (about 1 month ago)
- Topics: xkcd, xkcd-1930
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
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)