uppercase-first

Upper Case First Character Of A String.


Keywords
String, Uppercase First, First, character, ucFirst
License
MIT
Install
npm install uppercase-first@1.0.1

Documentation

uppercase-first

Upper Case First Character Of A String.

npm license github-issues

nodei.co

travis-status stars forks

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 prosenghosh25@gmail.com

License

  • MIT