Official nodejs library for TransXT API.
npm i transxt
Basic Usage
Instantiate the TransXT instance with username & password. You can obtain the username and password from the TransXT Platform(web portal)
Refer documentation link https://documenter.getpostman.com/view/9342792/T1LMhn7a#e559ba8e-586d-4f61-bb0d-fda90b757208
let url = "API_URL";
let environment = "UAT"; // UAT , PROD
let option = {
username : "XXXXX",
password : "XXXXX",
}
let payload = "API_PAYLOAD"
const transXT = require("transxt");
transXT.execute(payload, url, environment,option).then((response) => {
// handle success
}).catch((error) => {
// handle error
})