@akp-13/greetings

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

Usage no npm install needed!

<script type="module">
  import akp13Greetings from 'https://cdn.skypack.dev/@akp-13/greetings';
</script>

README

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!

Language ISO-Code
Croatian hr
Czech cs
Danish da
Dutch nl
English en
Estonian et
Finnish fi
French fr
German de
Hungarian hu
Icelandic is
Italian it
Lithuanian lt
Portuguese pt
Spanish es
Swedish sv
Turkish tr

Aknowledgements