npm.io
1.0.0 • Published 10 years ago

@f/capitalize

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

capitalize

Build status Git tag NPM version Code style

Capitalize a string

Installation

$ npm install @f/capitalize

Usage

var capitalize = require('@f/capitalize')

capitalize('hello world!') === 'Hello world!'

API

capitalize(str)
  • str - The string you want to capitalize

Returns: str, but with the first letter capitalized.

License

MIT