ts-cc-map
v1.1.0
Published
A minimal TypeScript project that only defines a char code map.
Maintainers
Readme
ts-cc-map
Usage
You can install the package in any TypeScript project using:
yarn add ts-cc-map -DUse the compile-time const enum definition like this:
/// <reference types="ts-cc-map/ECC_MAP" />
const code = ECC_MAP.A; // Example usageIf you need a runtime value alternative, import the object version:
import { ECC_MAP } from "ts-cc-map";
const code = ECC_MAP.A;