1.0.4 • Published 3 months ago
@neiderruiz/translate-js v1.0.4
Translate js package
install package
npm i @neiderruiz/translate-js
how to use it?
import { translate } form '@neiderruiz/translate-js'
// parameters in a object
translate("hola mundo","es", "en").then(response => {
// if there is an error it returns false
if(response){
console.log(response) // Hello World
}
})