tangent-cc-lib
v0.0.50
Published
Tangent CC Lib is a shared TypeScript library that collects the shared things across Tangent's several CharaChorder side projects.
Readme
Tangent CC Lib
A shared TypeScript library that collects reusable data models, datasets, and utilities across Tangent's CharaChorder side projects.
This repository is an Nx workspace that builds and publishes the tangent-cc-lib package from tangent-cc-lib/.
What this library provides
- Action datasets for WSK, non-WSK, and non-key CharaChorder device actions.
- Device layout data, key label data, and keyboard layout catalogs.
- Strongly typed models for actions, layouts, key codes, and combinations.
- Utility functions to:
- map keyboard layouts to character key maps,
- convert action codes into key combinations,
- compute modifier key positions,
- derive highlight combinations.
Install
npm install tangent-cc-libBuild and test (workspace)
From the repository root:
npm run build
npm run test
npm run lintEquivalent Nx commands:
npx nx build tangent-cc-lib
npx nx test tangent-cc-lib
npx nx lint tangent-cc-libLicense
MIT
