@blued-core-oversea/node-i18n
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

node-i18n

下载

npm install @blued-core-oversea/node-i18n

使用

const i18n = New(I18n)
const lang = 'en-us' // HTTP请求Header中的 accept-language 字段
console.log(i18n.getI18nLanguage('en-us')) // output: en

Readme

Keywords

none

Package Sidebar

Install

npm i @blued-core-oversea/node-i18n

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

12.4 kB

Total Files

8

Last publish

Collaborators

  • bluediapp