UNPKG

typescript-char-code

Version:
16 lines (10 loc) 294 B
# TypeScript Char Code `ord()` and `chr()` with 256 specific overloads ## Usage ```typescript import { ord, chr } from 'typescript-char-code' const foo: 'A' = ord(65) const bar: 65 = ord('A') ``` ## License [MIT](https://git.io/fpBkw) © [Hoàng Văn Khải](https://github.com/KSXGitHub)