Skip to content

code4fukui/LangCode

Repository files navigation

LangCode

https://code4fukui.github.io/LangCode/

usage

import { LangCode } from "https://code4fukui.github.io/LangCode/LangCode.js";

console.log(await LangCode.encode("日本語"));
console.log(await LangCode.decode("ja"));
console.log(await LangCode.find("メ"));
import { ISO639 } from "https://code4fukui.github.io/LangCode/ISO639.js";

console.log(await ISO639.encode("日本語"));
console.log(await ISO639.decode("jpn"));
console.log(await ISO639.find("メ"));

reference

About

ISO639-1 language codes library in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published