1.0.2 • Published 5 years ago

@valevassallo/introduction-translator v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@valevassallo/introduction-translator

Installation

  • npm: npm install @valevassallo/introduction-translator
  • yarn: yarn add @valevassallo/introduction-translator

Usage

First, import this module like this:\ const translate = require("@valevassallo/introduction-translator");.

There's the function translate() which receives three parameters: the language you want your introduction in, your name and your age.\ It looks like this: translate(language, name, age).

Available languages:

  • English (en)
  • Spanish (es)
  • German (de)
  • French (fr)
  • Korean (kr)
  • Chinese (ch)

Check out the examples