gb3304
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

GB/T 3304-1991

Names of nationalities of China in romanization with codes 中国各民族名称的罗马字母拼写法和代码

npm version

English | 简体中文

Installation

npm install gb3304

The CDN build is also available on jsDelivr:

Usage

// Using ES modules
import { data, names } from 'gb3304';

// Using CommonJS modules
const { data, names } = require('gb3304');
data.find((item => item.name === '汉族'));
// {name: "汉族", romanization: "Han", code: "HA", digitalCode: "01"}

data.find((item) => item.name === '朝鲜族')
// {name: "朝鲜族", romanization: "Chosen", code: "CS", romanizationInternational: "Korean", digitalCode: "10"}

names.includes('藏族');
// true

License

MIT © Qingrong Ke

References

Package Sidebar

Install

npm i gb3304

Weekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

45.9 kB

Total Files

9

Last publish

Collaborators

  • dearke