Skip to content

Outternet/capitalize-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capitalize-polyfill

npm install https://github.com/Outternet/capitalize-polyfill

A simple library to capitalize a string, Note: this is not based on offical spec.

//somewhere early in your code or with other polyfills.
import "capitalize-polyfill";

Example:

"hello".capitalize() //Hello
// or if you are concerned about future spec.
"hello".capitalizeOverride() //Hello

The core of this library is js-capitalize for full spec see documentation at js-capitalize.

About

A simple library to capitalize a string

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published