cup-of-tea
is a simple npm package that generates random tea cup SVG images. Each time you call the randomTeaCup()
function, it returns an SVG code representing a unique tea cup with randomly generated colors for vapor, pot, plate, and tea bag.
You can install cup-of-tea
via npm using the following command:
npm install cup-of-tea
To use cup-of-tea in your Node.js project, import the randomTeaCup() function and call it as shown below:
const { randomTeaCup } = require('cup-of-tea');
console.log(randomTeaCup());
This will log the SVG code for a randomly generated tea cup to the console.
This package is just created for fun!