uppercase-first
v1.0.1
Published
Upper Case First Character Of A String.
Downloads
15
Maintainers
Readme
uppercase-first
Upper Case First Character Of A String.
Features
npm Install
npm install --save uppercase-first
Browser Script Tag
For Production Use
<script src="https://cdn.rawgit.com/Prosen-Ghosh/uppercase-first/3949a9f3/uppercase-first.js"></script>
For Development Use
<script src="https://rawgit.com/Prosen-Ghosh/uppercase-first/master/uppercase-first.js"></script>
Development Dependencies
Package | Version | Dev --- |:---:|:---: chai | ^4.1.2 | ✔ mocha | ^3.5.3 | ✔ node-readme | ^0.1.9 | ✔
Usage
const ucFirst = require('uppercase-first');
ucFirst('a a')
//=> 'A a'
ucFirst(' abc')
//=> 'Abc'
ucFirst(); // return empty string
//=> ''
Author
Prosen Ghosh [email protected]
License
- MIT