capitalize-first-letter

1.0.0 • Public • Published

NPM version Build Status

Capitalize the first letter of a string

Synopsis

var capitalize = require('./')
 
var test = require('tape')
 
test('Capitalize first letter', function (t) {
  t.plan(1)
  t.equal(capitalize("united states"), "United states")
})

Install

npm install capitalize-first-letter

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i capitalize-first-letter

Weekly Downloads

212

Version

1.0.0

License

MIT

Last publish

Collaborators

  • stevemao