We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My demo is simple , just like this.
(async() => { const translate = require('google-translate-api-x'); const res = await translate('Ik spreek Engels', {to: 'zh'}); console.log(res.text); })()
When run the code, it throws the error
The text was updated successfully, but these errors were encountered:
@pekonchan If you are using a node version before v17.5(I believe you are) you must use node-fetch as described in #20
Sorry, something went wrong.
oh, I got it . Thank you
No branches or pull requests
My demo is simple , just like this.
When run the code, it throws the error
The text was updated successfully, but these errors were encountered: