Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@3alehi/good-time

3alehi44MIT2.0.1

Generate localized greeting messages based on the current time in multiple languages with npm package 'goodTime'. Supports both 12-hour and 24-hour time formats. Ideal for adding internationalized greetings to Node.js applications.

time, greeting, good morning, good afternoon, good evening, good night, multi-language, internationalization, i18n, localization, npm-package, nodejs, library, module, ساعت, خوشامد, صبح بخیر, عصر بخیر, شب بخیر, چندزبانگی, بین‌المللی‌سازی, محلی‌سازی, بسته-npm, نود جی اس, کتابخانه, ماژول, temps, salutations, bonjour, bonsoir, bonne nuit, multilingue, internationalisation, i18n, localisation, paquet-npm, nodejs, bibliothèque, module, tiempo, saludo, buenos días, buenas tardes, buenas noches, multilingüe, internacionalización, i18n, localización, paquete-npm, nodejs, biblioteca, módulo, Zeit, Begrüßung, Guten Morgen, Guten Tag, Gute Nacht, mehrsprachig, Internationalisierung, i18n, lokalisierung, npm-paket, nodejs, bibliothek, modul, 时间, 问候, 早上好, 下午好, 晚上好, 多语言, 国际化, i18n, 本地化, npm包, nodejs, , 模块, 時間, 招呼, おはようございます, こんにちは, こんばんは, おやすみなさい, 多言語, 国際化, i18n, ローカリゼーション, npmパッケージ, nodejs, ライブラリ, モジュール, время, приветствие, доброе утро, добрый день, добрый вечер, спокойной ночи, многоязычный, интернационализация, i18n, локализация, npm-пакет, nodejs, библиотека, модуль, tempo, saudação, bom dia, boa tarde, boa noite, multilíngue, internacionalização, i18n, localização, pacote-npm, nodejs, biblioteca, módulo, timp, salutare, bună dimineața, bună ziua, bună seara, noapte bună, multilingv, internacionalizare, i18n, localizare, pachet-npm, nodejs, bibliotecă, modul

readme

HourlyHello 🕒

Make your users' experience more engaging and personalized with dynamic greetings based on the time of day! 🌟

Features

  • 🕒 Personalized greetings based on the time.
  • 🌆 Dynamic messages that change as the day progresses.
  • 🌟 Easy-to-use API for integrating greetings into your applications. support 20 languge

Installation

You can install HourlyHello via npm:

npm i @3alehi/good-time

Support Languge

en: English
fr: French
es: Spanish
de: German
zh: Chinese (Mandarin)
jp: Japanese
ru: Russian
it: Italian
pt: Portuguese
ar: Arabic
hi: Hindi
ko: Korean
nl: Dutch
sv: Swedish
no: Norwegian
da: Danish
fi: Finnish
tr: Turkish
he: Hebrew
pl: Polish
fa: Persian

Usage Languge

// if your languge is english use this function
const goodTime = require('goodTime');

console.log(goodTime.en()); 
// if your languge is persian use this function

const goodTime = require('goodTime');

console.log(goodTime.fa()); 
//  and more languge example

Usage

Here's how you can use HourlyHello in your JavaScript project:

//  time automatice is set the functcion goodTime
// time => 12 Am
const goodTime = require('goodTime');

console.log(goodTime.en()); 
// in the log Good morning!

Here's how you can use HourlyHello in your React or Vue project:

//  time automatice is set the functcion goodTime
// time => 12 Am
import {goodTime} from "..."
console.log(goodTime.en()); 
// in the log Good morning!

Examples

Here are some examples of greetings you might receive:

  • Good morning! 🌅
  • Hello there! 👋
  • Good evening! 🌆

Issues

If you encounter any issues with the library or have suggestions for improvements, please open an issue on our Issue Tracker.