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

fancy-welcome

v1.0.5

Published

fancy way to welcoming people

Downloads

46

Readme

fancy-welcome

Simply greeting people with various language

Instalation

First you need animate.css package to make fancy-welcome work, simply just add it directly to your webpage using a CDN

$ npm install fancy-welcome
<head>
  <link
    rel="stylesheet"
    href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
  />
</head>

We recommend you set up with a JS module bundler like Vite, of which we have an example here (using Vite) fancy-welcome-playground

How To use:

import 'animate.css' // this is required
import fancy from 'fancy-welcome';
import 'fancy-welcome/dist/style.css'

// Render a welcome page
document.addEventListener("DOMContentLoaded", () => {
  fancy.render({
    //  - Language
    language: "Japanese",
    includeNativeWord: false, // example -> for Japanese word the word of (こんにちは) will not be rendered

    //  - Animation
    animationName: "fadeIn", // see (https://animate.style/) for more
    animateDuration: "1.2s",
  });
});

If you want to render a multiple language you can pass an array with specified language props

import 'animate.css' // this is required
import fancy from 'fancy-welcome';
import 'fancy-welcome/style.css'

// Render a welcome page
document.addEventListener("DOMContentLoaded", () => {
  fancy.render({
    //  - Language
    language: ["Japanese", "Indonesian", "Vietnamese" , "Russian"],

    //  - Animation
    animationName: "fadeIn", // see (https://animate.style/) for more
    animateDuration: "1.2s",
  });
});

if you want the list to be rendered on same order of your language list (default values are random), then simply just add exactOrderLanguage props set to true

exactOrderLanguage : true

if you want to eliminate the native word, like the word of (こんにちは) for Japanese or (नमस्कार) for Namaskāra.

add includeNativeWord: false to the fancy.render obj

 includeNativeWord: false, // example -> for  the word of (こんにちは) will not be rendered, instead only render Konichiwa

If you want to render all of the language then just change the language props to "all", it will render 100+ language before fancy welcome element destroy

language : "all" 

Using fancy.greetings

if you only need the greetings data and want to modify the element by your self (not using fancy.render) you can get it by using fancy.greetings

import fancy from 'fancy-welcome'

const data = fancy.greetings({
    language : "all", // "all" | ["Indonesia", "Japanese" , "..."] | "Indonesia"
    exactOrderLanguage: true, // true | false
    includeNativeWord: false // true | false
})

List of the language

| language | word | |-----------------|----------------------------------| | Afrikaans | Hallo | | Albanian | Përshëndetje | | Amharic | Iwi selami newi (እው ሰላም ነው) | | Arabic | Marhaba (مرحبًا) | | Armenian | Barev | | Aymara | Kamisaki | | Azerbaijani | Salam | | Basque | Kaixo | | Belarusian | Vitaju (Вітаю) | | Bengali | Hyālō (হ্যালো) | | Bosnian | Zdravo | | Bulgarian | Zdraveĭte (Здравейте) | | Burmese | Haallo (ဟယ်လို) | | Cantonese | Nǐ hǎo (你好) | | Catalan | Hola | | Cebuano | Kamusta | | Chichewa | Moni | | Corsican | Bonghjornu | | Croatian | Zdravo | | Czech | Ahoj | | Danish | Hej | | Dutch | Hallo | | English | Hello | | Estonian | Tere | | Ewe | Hello | | Farsi (Persian) | Salām (سلام) | | Fijian | Bula | | Filipino | Kumusta | | Finnish | Hei | | French | Bonjour | | Gaelic (Irish) | Dia dhuit | | Galician | Ola | | Georgian | Gamarjoba (გამარჯობა) | | German | Guten tag | | Greek | Geia (γεια) | | Guarani | Mba'éichapa | | Haitian Creole | Bonjou | | Hawaiian | Aloha | | Hebrew | Shalom (שלום) | | Hindi | Namaste (नमस्ते) | | Hmong | Nyob zoo | | Hungarian | Szia | | Icelandic | Halló | | Igbo | Ndewo | | Ilocano | Hello | | Indonesian | Halo | | Italian | Ciao | | Japanese | Konichiwa (こんにちは) | | Kazakh | Sälemetsiz be (Сәлеметсіз бе) | | Khmer | Suostei (សួស្តី) | | Kinyarwanda | Mwaramutse | | Korean | Anyeong haseyo (안녕하세요) | | Kurdish | Slav | | Lao | Sabaidi (ສະບາຍດີ) | | Latin | Salve | | Latvian | Sveika (male) or Sveiks (female) | | Lithuanian | Sveiki | | Luxembourgish | Moien | | Malagasy | Salama | | Maltese | Bongu | | Mandarin | Nǐ hǎo (你好) | | Maori | Kia ora | | Marathi | Namaskāra (नमस्कार) | | Mongolian | Sain uu (сайн уу) | | Nahuatl | Niltze Tialli Pialli | | Navajo | Ya’at’eeh | | Nepali | Namaskāra (नमस्कार) | | Norwegian | Hei | | Pashto | Salam (سلام) | | Polish | Cześć | | Portuguese | Olá | | Punjabi | Sata srī akāla (ਸਤ ਸ੍ਰੀ ਅਕਾਲ) | | Oromo | Akkam | | Quechua | Allianchu | | Romanian | Bunâ | | Russian | Privet (Привет) | | Samoan | Talofa | | Sepedi | Thobela | | Serbian | Zdravo (Здраво) | | Sesotho | Dumela | | Slovak | Ahoj | | Slovenian | Zdravo | | Somali | Hello | | Spanish | Hola | | Swahili | Jambo | | Swedish | Hallå | | Tagalog | Kamusta | | Tahitian | Ia Orana | | Taiwanese | Li-hó | | Tamil | Vanakkam (வணக்கம்) | | Thai | S̄wạs̄dī (สวัสดี) | | Tibetan | Tashi delek | | Tongan | Mālō e lelei | | Tsonga | Avuxeni | | Turkish | Merhaba | | Ukrainian | Privit (привіт) | | Urdu | Assalāmu Alaykum (السلام عليكم) | | Uzbek | Salom | | Vietnamese | Xin chào | | Welsh | Helo | | Xhosa | Molo |