1.0.4 • Published 5 years ago

@akp-13/greetings v1.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

npm (scoped)

Multi Language Greeting App

Find out how to say 'hello' in a range of different languages.

Users can generate

  • a random language's greeting
    • greet or greet --lang
  • the greeting for a language of their choice
    • greet --lang ISO-Code

CLI Interface

Installation & Usage

Global Installation

  • npm i -g @akp-13/greetings
  • This will allow you to then run greet and generate a random language's greeting translation from anywhere in you terminal

Local Installation

  • npm i @akp-13/greetings
  • To use locally, you will need to add in scripts into the package.json.
  •         {
                "scripts": {
                    "greet-es": "greet --lang es"
                }
            }
    Will allow you to run npm run greet-es in the terminal and recieve Hola!

Usage within other apps

const greetings = require("@akp-13/greetings");

const sp = greetings.greet("es");

console.log(sp);
// -> Hola!

Supported Languages

More coming soon!

LanguageISO-Code
Croatianhr
Czechcs
Danishda
Dutchnl
Englishen
Estonianet
Finnishfi
Frenchfr
Germande
Hungarianhu
Icelandicis
Italianit
Lithuanianlt
Portuguesept
Spanishes
Swedishsv
Turkishtr

Aknowledgements

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago