Skip to content

This NPM package delivers random quotes and lyrics from the movie This is Spinal Tap

Notifications You must be signed in to change notification settings

jdm79/tap-quotes-npm-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm npm npm

tap-quotes-npm-pkg

This function will return a random quote or lyric from an array of over 11 (570 to be precise) strings. WARNING: Some of these quotes and lyrics contain rather rude (NSFW) words. They used to be tweeted every hour on the hour on this Twitter bot, until Alan Musk cut off my access to the Twitter API.

The array contains back tick multi-line strings - a different line for each person speaking (see example below).

How to use this package

npm i tap-quotes-npm-pkg
const { randomTapQuote } = require("tap-quotes-npm-pkg");

randomTapQuote();
// MARTY: If you were to have something written as your epitaph...
// DAVID: “Here lies David St. Hubbins...and why not?”
// MARTY: You feel that sums up your...your life?
// DAVID: No, it‘s the first thing I could think of.
// MARTY: Oh, I see...

Releases

No releases published

Packages

No packages published