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;