0.0.6 • Published 3 years ago
diverst-translaty v0.0.6
Diverst Translaty
Internal implementation for Google Translate API.
Installation
Use the package manager npm to install foobar.
npm install diverst-translaty
Usage
import { DiverstTranslaty } from 'diverst-translaty';
const client = DiverstTranslaty.new(projectId, apiKey)
// takes in two args: text and target lang
client.translateText('text to translate', 'ch')
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.