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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rehanqasimk/happy-new-year

v1.3.0

Published

A fun CLI tool that displays ASCII fireworks and a Happy New Year message. Inspired by firew0rks.

Readme

@rehanqasimk/happy-new-year 🎉

A fun CLI tool that displays colorful ASCII fireworks and a Happy New Year message!

Installation

This package is published to both npm registry and GitHub Packages. You can use either one!

From npm Registry (Easiest - No configuration needed!)

npx @rehanqasimk/happy-new-year

Or install globally:

npm install -g @rehanqasimk/happy-new-year
happy-new-year

From GitHub Packages

Step 1: Configure npm to use GitHub Packages for the @rehanqasimk scope.

You can do this in one of two ways:

Option A: Using npm config (Recommended)

npm config set @rehanqasimk:registry https://npm.pkg.github.com

Option B: Create/edit ~/.npmrc file Add this line to your ~/.npmrc file (create it if it doesn't exist):

@rehanqasimk:registry=https://npm.pkg.github.com

Step 2: Run the package

npx @rehanqasimk/happy-new-year

Note: Since this is a public package, you don't need authentication. However, if you encounter authentication errors, you can authenticate with:

npm login --scope=@rehanqasimk --registry=https://npm.pkg.github.com

Usage

Simply run the command:

npx @rehanqasimk/happy-new-year

This will display colorful ASCII fireworks followed by a Happy New Year message from Rehan Qasim.

Publishing

This package is published to both GitHub Packages and npm registry. The GitHub Actions workflow automatically publishes to both when you push a git tag.

Automated Publishing (Recommended)

The package uses GitHub Actions to automatically build and publish to both registries when you push a git tag.

Prerequisites:

  1. GitHub Personal Access Token (PAT) with read:packages and write:packages permissions
    • Add as secret: ACCESS_TOKEN in your GitHub repository settings
  2. npm Access Token with publish permission
    • Get from: https://www.npmjs.com/settings/YOUR_USERNAME/tokens
    • Add as secret: NPM_TOKEN in your GitHub repository settings

Steps to publish:

  1. Update the version in package.json:
# Edit package.json and update the version (e.g., "1.0.8")
  1. Commit and push your changes:
git add package.json
git commit -m "Bump version to 1.0.8"
git push
  1. Create and push a git tag (this triggers the automated publish workflow):
git tag v1.0.8
git push origin v1.0.8

The GitHub Actions workflow will automatically:

  • Build the package
  • Verify the tag version matches package.json
  • Publish to GitHub Packages
  • Publish to npm registry
  • Create a GitHub release

Note: The tag version (e.g., v1.0.8) must match the version in package.json (e.g., 1.0.8).

Manual Publishing

If you prefer to publish manually:

Publish to GitHub Packages

  1. Authenticate with GitHub Packages:
npm login --scope=@rehanqasimk --registry=https://npm.pkg.github.com
  1. Build and publish:
npm run build
npm run publish:github
# or simply: npm publish

Publish to npm Registry

  1. Authenticate with npm:
npm login
  1. Build and publish:
npm run build
npm run publish:npm
# or: npm publish --registry=https://registry.npmjs.org

Publish to Both

To publish to both registries manually:

npm run build
npm run publish:github  # Publish to GitHub Packages
npm run publish:npm     # Publish to npm registry

Development

Running Locally

There are several ways to test the package locally:

Method 1: Using npm scripts (easiest)

# Build and run in one command
npm run dev

# Or build first, then run
npm run build
npm start

Method 2: Direct node execution

npm run build
node dist/index.js

Method 3: Using npm link (test as if installed)

# Build the project
npm run build

# Create a global symlink
npm link

# Now you can run it from anywhere
happy-new-year

# Or test with npx (if you have the package linked)
npx @rehanqasimk/happy-new-year

# When done testing, unlink
npm unlink -g @rehanqasimk/happy-new-year

Method 4: Install from local directory

# In another project or globally
npm install -g /path/to/happy-new-year

# Or in another project
npm install /path/to/happy-new-year

Setup

# Install dependencies
npm install

# Build the project
npm run build

Acknowledgments

This project uses fireworks animation frames inspired by firew0rks by Addy Osmani. The firew0rks project is a JavaScript port of text art animations and provides amazing ASCII art animations for the terminal.

Special thanks to the original creators for their work on terminal animations!

License

ISC

Author

Rehan Qasim