@hot-tea-labs/cup-of-tea

1.0.3 • Public • Published

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!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    3
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @hot-tea-labs/cup-of-tea

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

6.35 kB

Total Files

4

Last publish

Collaborators

  • arularmstrong