char-to-string
Convert a character or character code to string
Last updated 2 years ago by bconnorwhite .
MIT · Repository · Original npm · Tarball · package.json
$ gnpm install char-to-string 
SYNC missed versions from official npm registry.

char-to-string

NPM TypeScript Coverage Status

Convert a character or character code to string.

If I should maintain this repo, please ⭐️ GitHub stars

DM me on Twitter if you have questions or suggestions. Twitter


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;

Dev Dependencies

  • autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.

License license

MIT

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

2 Versions

  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |