JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q43111F
  • License ISC

get some random banter via tags

Package Exports

  • banterer

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (banterer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

banterer

  • lighthearted remarks for when you need to break up the monotony

Install

$ npm install banterer

Usage

const banterer = require("banterer");

console.log(banterer.random()); // returns random banter
console.log(banterer.random("react")); // returns random react banter
console.log(banterer.list()); // returns an array of all banter
console.log(banterer.list("react")); // returns an array of all react banter

CLI

$ banterer [options]

Options

-v, --version      output the version number
-l, --list         list all the jokes
-t, --tag <value>  filter banter with tag
-j, --jokes        return jokes only (WIP)
-q, --quotes       return quotes only (WIP)
-a, --add          interactively add a record (WIP)
-h, --help         output usage information

Examples

$ banterer
$ banterer --tag react
$ banterer -t javascript
$ banterer --list
$ banterer -l
$ banterer -lt react

Tags

  • javascript
  • react
  • java
  • c#
  • network
  • data
  • node
  • coffeescript
  • css
  • ember
  • backbone
  • knockout