Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

tsivinsky/hi-mom

Repository files navigation

Hi, mom!

A blazingly fast JavaScript library to say hi to your mom!

Install

yarn

yarn add hi-mom

npm

npm i hi-mom

unpkg.com (UMD)

<script src="https://unpkg.com/hi-mom/lib/hi-mom.umd.js"></script>

Usage

CommonJS

const { hiMom } = require("hi-mom");

console.log(hiMom()); // Hi, mom!

ES Modules

import { hiMom } from "hi-mom";

console.log(hiMom()); // Hi, mom!

Browser (UMD)

console.log(hiMom.hiMom());

custom mother name

import { hiMom } from "hi-mom";

console.log(hiMom("Mother")); // Hi, Mother!

Languages supported

  • ar - Arabic
  • ar-IQ - Iraqi Arabic
  • as - Assamese
  • az - Azerbaijani
  • bn - Bengali
  • bg - Bulgarian
  • ca - Catalan
  • cn - Chinese
  • cs - Czech
  • da - Danish
  • de - German
  • en - English
  • en-AU - Australian English
  • en-PT - Pirate Speak
  • es - Spanish
  • fa - Persian
  • fr - French
  • he - Hebrew
  • hi - Hindi
  • hr - Croatian
  • hu - Hungarian
  • id - Indonesian
  • it - Italian
  • ja - Japanese
  • ko - Korean
  • kaa - Karakalpak
  • lt - Lithuanian
  • mar - Marathi
  • ml - Malayalam
  • ms - Malay
  • nl-BE - Flemish
  • nl-NL - Dutch
  • no - Norwegian
  • no-NB - Norwegian Bokmål
  • no-NN - Norwegian Nynorsk
  • pl - Polish
  • pt - Portuguese
  • qt - Crimean
  • ro - Romanian
  • ru - Russian
  • se - Swedish
  • si - Sinhala
  • sr - Serbian
  • ta - Tamil
  • th - Thai
  • tl - Filipino
  • tr - Turkish
  • tm - Turkmen
  • ua - Ukrainian
  • ur - Urdu
  • vi - Vietnamese
  • zh - Zhongwen
  • ug - Uyghur