To fill all your code with references to Cowboy Bebop now you can get random quotes and images with quotes.
npm i cowboy-bebop-random-message
let cowboy = require('cowboy-bebop-random-message');
// get a random quotes
const quote = cowboy.quote();
console.log(quote);
// get a png image with a quote to a desire path
random.image('.');
If someone wants to add or improve something, I invite you to collaborate directly in this repository: Cowboy Bebop Quote generator
Cowboy Bebop Quote generator is released under the MIT License.
To minify the json assets vs-tools was used. Also for generating the images with text we use the lib Jimp.