Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Deepl API wrapper for node.
npm install deepl --save
Official documentation can be found here: https://www.deepl.com/api.html
Get an account and an API key here: https://www.deepl.com/pro.html
"BG" "CS" "DA" "DE" "EL" "EN-GB" "EN-US" "EN" "ES" "ET" "FI" "FR" "HU" "IT" "JA" "LT" "LV" "NL" "PL" "PT-PT" "PT-BR" "PT" "RO" "RU" "SK" "SL" "SV" "ZH"
const translate = require("deepl");
translate({
text: 'I am a text',
target_lang: 'FR',
auth_key: 'authkey',
// All optional parameters available in the official documentation can be defined here as well.
})
.then(result => {
console.log(result.data);
})
.catch(error => {
console.error(error)
});
translate({
free_api: true,
text: 'I am a text',
target_lang: 'FR',
auth_key: 'authkey',
})
{
"translations": [
{
"detected_source_language": "EN",
"text": "Je suis un texte"
}
]
}
MIT
FAQs
Deepl API wrapper for node
The npm package deepl receives a total of 2,210 weekly downloads. As such, deepl popularity was classified as popular.
We found that deepl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.