@hot-tea-labs/cup-of-tea
v1.0.3
Published
A simple cup of tea
Downloads
16
Maintainers
Readme
cup-of-tea
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.
Installation
You can install cup-of-tea
via npm using the following command:
npm install cup-of-tea
Usage
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!