/typescript-char-code

Primary LanguageJavaScriptMIT LicenseMIT

TypeScript Char Code

ord() and chr() with 256 specific overloads

Usage

import { ord, chr } from 'typescript-char-code'
const foo: 'A' = ord(65)
const bar: 65 = ord('A')

License

MIT © Hoàng Văn Khải