@valevassallo/introduction-translator

1.0.2 • Public • Published

@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

Package Sidebar

Install

npm i @valevassallo/introduction-translator

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

173 kB

Total Files

14

Last publish

Collaborators

  • valevassallo