$ gnpm install char-to-string
Convert a character or character code to string.
If I should maintain this repo, please ⭐️
DM me on Twitter if you have questions or suggestions.
yarn add char-to-string
npm install char-to-string
pnpm add char-to-string
import charToString from "char-to-string";
charToString("a"); // "a"
charToString(97); // "a"
charToString("abc"); // "a"
import charToString from "char-to-string";
function charToString(char: string | number): string;
Copyright 2013 - present © cnpmjs.org | Home |