Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matheuss/google-translate-api
/ functions
Functions
3 in github.com/matheuss/google-translate-api
⨍
Functions
3
◇
Types & classes
0
↓ 8 callers
Function
translate
(text, opts)
index.js:9
↓ 1 callers
Function
getCode
* Returns the ISO 639-1 code of the desiredLang – if it is supported by Google Translate * @param {string} desiredLang – the name or the code of the
languages.js:121
Function
isSupported
* Returns true if the desiredLang is supported by Google Translate and false otherwise * @param desiredLang – the ISO 639-1 code or the name of the d
languages.js:147