@f/capitalize

Capitalize a string

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Jan 10, 2016Jan 10, 2016Minified + gzip package size for @f/capitalize in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.