simplified-chinese-language-codes
v1.1.1
Published
Returns an ES6 set of Simplified Chinese language codes
Downloads
4
Maintainers
Readme
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)
]);