capitalize-first-letter

capitalize the first letter of a string

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
capitalize-first-letter
211.0.07 years ago7 years agoMinified + gzip package size for capitalize-first-letter in KB

Readme

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