soramitsukhmer / codex

The Soramitsu Khmer Codex data and ESM module

Home Page:https://flatgithub.com/soramitsukhmer/codex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@soramitsukhmer/codex

The Soramitsu Khmer Codex repo

Install

npm install @soramitsukhmer/codex
# or
yarn add @soramitsukhmer/codex

List

References

Country Codes

List of country code and dial code.

Data: data/country-codes.json

import { KH, US } from '@soramitsukhmer/codex/country'

console.log(KH)

/**
 * {
 *     name: string;
 *     dial_code: string;
 *     code: string;
 * }
 */

Credit: https://gist.github.com/anubhavshrimal/75f6183458db8c453306f93521e93d37

Currency Codes

Common Currency Codes in JSON

Data: data/common-currency.json

import { USD, KHR } from '@soramitsukhmer/codex/currency'

console.log(KHR)

/**
 * {
 *     symbol: string;
 *     name: string;
 *     symbol_native: string;
 *     decimal_digits: number;
 *     rounding: number;
 *     code: string;
 *     name_plural: string;
 * }
 */

Credits:

License

Licensed under MIT License.

About

The Soramitsu Khmer Codex data and ESM module

https://flatgithub.com/soramitsukhmer/codex

License:MIT License


Languages

Language:JavaScript 79.6%Language:Shell 15.8%Language:TypeScript 4.6%