ucfirstchar

1.0.5 • Public • Published

ucfirstchar

Codeship Status for JonForest/ucfirstchar

This project upper-cases the first character of a string, taking into account html tags, entities and punctuation.

Usage

var ucfirstchar = require('ucfirstchar');

console.log(ucfirstchar('<b>this is a test</b>'); // <b>This is a test</b>

See the unit tests for all scenarios covered.

License ISC

/ucfirstchar/

    Package Sidebar

    Install

    npm i ucfirstchar

    Weekly Downloads

    1

    Version

    1.0.5

    License

    ISC

    Last publish

    Collaborators

    • jonforest