npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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

install

npm i capitalize-first-letter

Downloadsweekly downloads

15

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability