Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.
/ ucfirstchar Public archive

Upper cases the first character in a string, taking into account html tags, entities and punctuation

License

Notifications You must be signed in to change notification settings

JonForest/ucfirstchar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Upper cases the first character in a string, taking into account html tags, entities and punctuation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published