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

new_year

v1.0.4

Published

This package gives us the day and month until New Year Eve and shows us the word "happy holiday" in many languages, and shows us some ASCII art about the New Year

Downloads

3

Readme

New Year Celebration

A collection of command-line tools to help you celebrate the New Year in style.

Table of Contents

Included Tools

The package contains a three function:

  1. ASCII New Year Draw - a tool for creating ASCII art greetings.
  2. Happy Holiday Dictionary - a collection of translations for the phrase "happy holiday" in various languages.
  3. New Year Countdown - a countdown timer for New Year's Eve.

Installation

npm install new_year

or

npm i new_year

Usage

const ny = require('new_year');

1. Function 1: ASCII New Year Draw:

Input:

ny.drawsOfNewYear()

Output:

"newyear":

newyear

"newyear1":

newyear1

2. Function 2: Happy Holiday Dictionary:

To use the Happy Holiday Dictionary, run: languages("Korean") This node takes a dictionary/JSON and shows us the word "Happy Holiday" in the selected languages.

Available languages:
"English": "happy Holiday",
"Hebrow": "חג שמח",
"Arbic": "عيد سعيد",
"French": "Joyeuses Fêtes",
"Spanish": "Felices Fiestas",
"Chinese": "節日快樂",
"Turkish": "Mutlu Bayramlar",
"Romanian": "Sarbatori Fericite",
"Greek": "Καλές δικακοπές",
"Italian": "Buone Feste",
"Korean": "행복 휴일",
"German": "frohe Ferien"

Input:

ny.languages(language)

example:

ny.languages("Korean")

Output:

we have a list of languages the output is a happy holiday in the selected language,
the output in "Korean" is 행복 휴일
If you choose a language that is not on the list, it will return: we don't recognize this word.

3. Function 3: New Year Countdown:

The countdown timer displays the remaining time until New Year's Eve.

Input:

ny.timeUntilNewYear()

Output:

11 months and 17 days until new year

countdown the months and days until the new year, 31/12/2023

License

This project is licensed under the ISC License.

Credits

Celine Karam
Marah Habashy

Contact

[email protected]
[email protected]