1.1.2 • Published 5 months ago

voxa-js v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

🌐 VoxaJS - Translation API

VoxaJS provides an easy way to translate text between different languages using the Voxa Translation API. Convert your ideas into multiple languages with just a few lines of JavaScript!

📌 Table of Contents

📦 Installation

Install the package using npm:

npm install voxa-js

📖 Usage

Integrating VoxaJS into your project is straightforward:

const { Translator } = require('voxa-js');
const translator = new Translator('en', 'fr');
translator.translate('Hello').then(console.log); // Outputs: "Bonjour"

📝 Parameters

When creating a new Translator instance, you can specify the following parameters:

ParameterDescriptionExample
sourceThe original language of the text (ISO 639-1 code).en
targetThe target language to which you want the text translated (ISO 639-1 code).fr

Note: ⚠️ Make sure to use valid ISO 639-1 language codes.

Happy Translating with VoxaJS! 🌍🎉

1.1.2

5 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

7 months ago