Convert a character or character code to string
npm install char-to-stringConvert a character or character code to string.
_If I should maintain this repo, please ⭐️_
_DM me on Twitter if you have questions or suggestions._
---
``sh`
yarn add char-to-string
`sh`
npm install char-to-string
`sh`
pnpm add char-to-string
ts
import charToString from "char-to-string";charToString("a"); // "a"
charToString(97); // "a"
charToString("abc"); // "a"
`$3
`ts
import charToString from "char-to-string";function charToString(char: string | number): string;
``- autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.