1.1.1 • Published 4 years ago

simplified-chinese-language-codes v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

simplified-chinese-language-codes

Returns an ES6 set of Simplified Chinese language codes (lowercased)

Installation

yarn add simplified-chinese-language-codes

Usage

import scCodes from 'simplified-chinese-language-codes';

console.log(scCodes);

Codes included

export default new Set<string>([
  'zh-cn', // Simplified Chinese (PRC)
  'zh-sg', // Simplified Chinese (Singapore)
  'zh-hans', // Simplified Chinese
  'zh-hans-cn', // Simplified Chinese (PRC)
  'zh-hans-sg', // Simplified Chinese (Singapore)
  'zh-hans-hk', // Simplified Chinese (Hong Kong)
  'zh-hans-mo', // Simplified Chinese (Macao)
  'zh-hans-tw', // Simplified Chinese (Taiwan)
]);