@redux-multipurpose/angular-cli
Version:
A multipurpose redux tools angular cli
45 lines (30 loc) • 1.31 kB
Markdown
[![NPM version][npm-image]][npm-url]
[![NPM downloads][downloads-image]][downloads-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
Title case a string.
Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a `toString` property, numbers and booleans. Empty values (`null` and `undefined`) will result in an empty string.
## Installation
```
npm install title-case --save
```
## Usage
```javascript
var titleCase = require('title-case');
titleCase('string') //=> "String"
titleCase('PascalCase') //=> "Pascal Case"
titleCase('STRING', 'tr') //=> "Strıng"
```
Includes a [TypeScript definition](title-case.d.ts).
MIT
[]: https://img.shields.io/npm/v/title-case.svg?style=flat
[]: https://npmjs.org/package/title-case
[]: https://img.shields.io/npm/dm/title-case.svg?style=flat
[]: https://npmjs.org/package/title-case
[]: https://img.shields.io/travis/blakeembrey/title-case.svg?style=flat
[]: https://travis-ci.org/blakeembrey/title-case
[]: https://img.shields.io/coveralls/blakeembrey/title-case.svg?style=flat
[]: https://coveralls.io/r/blakeembrey/title-case?branch=master