gtranslatets

1.0.0 • Public • Published

simple-translate

Translate stuff simply and fast using your google api credentials.. faster than it already is

This is almost pointless. I used it to cheat my way through languages I guess. As always, when cheating language classes, you shouldn't 100% trust google translate (blah blah disclaimer stuff)..

Usage

Using this programmatically looks something like this:

const translator = new Translate({ projectId: "your project id", apiKey: "your api key" });

translator.translate("hello", "fr").then((res) => {
    console.log(res);
    // { "original": "hello", "translation" : "bonjour" }
})

Readme

Keywords

none

Package Sidebar

Install

npm i gtranslatets

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

8.89 kB

Total Files

13

Last publish

Collaborators

  • bfu4