@i18n.site/svg
v2.0.1
Published
Language name badges as SVG, covering 188 languages with BCP-47 codes and endonyms
Maintainers
Readme
@i18n.site/svg
188 language name badges as SVG, with BCP-47 / ISO 639 codes and native names (endonyms).
Install
npm i @i18n.site/svgimport { langMap } from '@i18n.site/svg'
langMap.en // { code: 'en', name: 'English', file: 'en.svg' }SVG files live at the package root:
new URL('en.svg', import.meta.resolve('@i18n.site/svg/package.json'))CDN:
https://cdn.jsdelivr.net/npm/@i18n.site/svg/en.svgFiles
*.svg- one badge per language, file name is the language codeindex.json-[{ code, name, file }]index.js- same data as ES module, exportslang_li,langMap, default
Links
- Repository: https://github.com/i18n-site/svg
- Preview: https://i18n-site.github.io/svg/
License
MIT
