Node Packaged Modules

    char-to-string

    1.0.0 • Public • Published

    char-to-string

    NPM TypeScript Coverage Status GitHub Stars Twitter Follow

    Convert a character or character code to string.

    Installation

    yarn add char-to-string
    npm install 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 DependenciesDavid


    License license

    MIT

    Install

    npm i char-to-string

    DownloadsWeekly Downloads

    586

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.14 kB

    Total Files

    7

    Last publish

    Collaborators

    • bconnorwhite