Official Node.js library for the DeepL language translation API.
MIT License
Published by JanEbbing 3 months ago
Added supported glossary languages: Danish ('da'
), Norwegian (bokmål)
('nb'
), and Swedish ('sv'
). The corresponding glossary language code
TypeScript types are extended.
Note: older library versions also support the new glossary language pairs,
this update only adds new types.
axios
locked-version due to securityPublished by JanEbbing 7 months ago
follow-redirects
locked-version due to securityPublished by daniel-jones-dev 9 months ago
follow-redirects
due to security vulnerabilityaxios
requirement to ^1.6.4
to avoid vulnerability in follow-redirects <1.15.4
Published by daniel-jones-deepl 12 months ago
context
parameter for text translation, that specifiesCI: silence npm audit warnings in non-production dependencies due to
currently-unresolvable vulnerability in semver <7.5.2.
Increase axios dependency to >=1.2.2, due to bug in axios v1.2.1.
Added supported glossary languages: Italian (it), Dutch (nl), Polish (pl),
Portuguese (pt), Russian (ru) and Chinese (zh). The corresponding glossary
language code TypeScript types are extended.
Note: older library versions also support the new glossary language pairs,
this update only adds new types.
Fixed typo in readme: createGlossaryWithCsv
not createGlossaryFromCsv
Published by daniel-jones-deepl 12 months ago
Published by daniel-jones-deepl 12 months ago
Published by daniel-jones-deepl 12 months ago
Published by JanEbbing over 1 year ago
Published by daniel-jones-deepl almost 2 years ago
New languages available: Korean ('ko'
) and Norwegian (bokmål) ('nb'
). Add
language code constants and tests.
Note: older library versions also support the new languages, this update only
adds new code constants.
Published by JanEbbing almost 2 years ago
Published by daniel-jones-deepl almost 2 years ago
supportsFormality
field for source languages.Published by daniel-jones-deepl almost 2 years ago
npm audit
warnings for dev dependencies, due to CVE in eslint-plugin-import > tsconfig-paths > json5
.axios
v1.2.1, that resolves the issue in v1.2.0.Published by daniel-jones-deepl almost 2 years ago
axios
to v1.1.3 or lower due to an issue in v1.2.0.
Published by daniel-jones-deepl about 2 years ago
for .. of
loops to for .. in
loops, to handle cases where arrayPublished by daniel-jones-deepl about 2 years ago
'prefer_less'
and 'prefer_more'
.503 Service Unavailable
errors are now retried.Published by daniel-jones-deepl about 2 years ago
New language available: Ukrainian ('uk'
). Add language code constant and
tests.
Note: older library versions also support new languages, this update only
adds new code constant.
Published by daniel-jones-deepl about 2 years ago
Published by daniel-jones-deepl about 2 years ago
createGlossaryWithCsv()
allowing glossaries downloaded from website to be easily uploaded to API.Published by daniel-jones-deepl about 2 years ago
getSourceLanguages()
and getTargetLanguages()
result.translateText()
to fix TS compiler errors.