2.0.0 • Published 1 year ago

char-to-string v2.0.0

Weekly downloads
21
License
MIT
Repository
github
Last release
1 year ago

If I should maintain this repo, please ⭐️

DM me on Twitter if you have questions or suggestions.


Installation

yarn add char-to-string
npm install char-to-string
pnpm add char-to-string

API

Usage

import charToString from "char-to-string";

charToString("a"); // "a"

charToString(97); // "a"

charToString("abc"); // "a"

Types

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.

MIT