New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

char-to-string

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

char-to-string

Convert a character or character code to string

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

char

FAQs

Package last updated on 10 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts