npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cup-of-tea

v1.0.4

Published

ASCII cups of tea

Downloads

4

Readme

ASCII Tea Cup

Welcome to ASCII Tea Cup! This delightful npm package allows you to print charming cups of tea in ASCII art right to your console. It's designed with simplicity in mind, making it perfect for beginners who are just dipping their toes into the vast world of programming and npm packages.

What It Does

ASCII Tea Cup lets you instantly generate tea cups in ASCII format. Whether you need a little decoration for your console applications or just want to enjoy a virtual cup of tea, this package is here for you. With just a simple command, you can generate one or many tea cups to brighten your day.

Target Audience

This package is targeted at beginners and those new to the JavaScript and npm ecosystem. We aim to provide a fun and simple example of what npm packages can do, offering an easy-to-understand codebase and straightforward functionality. It's a great starting point for those looking to learn more about creating and publishing their own packages.

Installation

To download and use ASCII Tea Cup, you'll need Node.js and npm installed on your computer. Once you have those set up, simply run the following command in your terminal:

npm install cup-of-tea

This command pulls the latest version of ASCII Tea Cup from the npm registry and installs it in your project.

Usage

After installing, you can use ASCII Tea Cup in your JavaScript file as follows:

const printTeaCup = require('cup-of-tea');

// To print a single cup of tea
printTeaCup(1);

// To print multiple cups of tea
printTeaCup(5);

Just replace the number with how many cups of tea you would like to print.

Contributing

We love contributions! If you have ideas on how to improve ASCII Tea Cup or add new features, please feel free to fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

Final Note

ASCII Tea Cup is more than just a simple npm package; it's a doorway to learning and creativity in the coding world. We hope it brings a little joy and a lot of learning into your coding journey!

Happy Coding!