@kingjs/string-ex.capitalize
v1.0.1
Published
Capitalize a string.
Downloads
16
Readme
@kingjs/string-ex.capitalize
Capitalize a string.
Usage
var assert = require('assert');
var Capitalize = require('@kingjs/string-ex.capitalize');
assert('foo'[Capitalize]() == 'Foo');
API
capitalize(this)
Parameters
this
: The string.
Returns
Returns a capitalized version of the string.
Install
With npm installed, run
$ npm install @kingjs/string-ex.capitalize
Source
https://repository.kingjs.net/string-ex/capitalize
License
MIT