
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
deepl-languages
Advanced tools
Maps the languages currently supported by operations of the DeepL API. The data auto-updates every 3 days, if needed.
const { isLanguageSupported } = require("deepl-languages");
console.log(isLanguageSupported("en"));
// true
The raw sets of supported languages, as returned by DeepL API, are made accessible:
const { source } = require("deepl-languages");
console.log(source);
// [{language: 'BG', name: 'Bulgarian'}, {…}, {…}, …]
// OR
const deepL = require("deepl-languages");
console.log(deepL.dataSource);
// [{language: 'BG', name: 'Bulgarian'}, {…}, {…}, …]
Supported types are: source & target.
isLanguageSupported(code, type) returns whether a language is supported or not:
code must be a BCP 47 language tag, as per ISO 3166-1type must be either source or target (defaults to source)const { isLanguageSupported } = require("deepl-languages");
console.log(isLanguageSupported("en"));
// true
console.log(isLanguageSupported("en", "source"));
// true
console.log(isLanguageSupported("en-gb", "target"));
// true
deepl-languages is released under the MIT License. See the bundled LICENSE file for details.
FAQs
Maps supported languages by DeepL
We found that deepl-languages demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies