to-sentence-case
Convert a string to sentence case.
Last updated 10 years ago by ianstormtaylor .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install to-sentence-case 
SYNC missed versions from official npm registry.

to-sentence-case

Convert a string to a sentence case.

Installation

$ component install ianstormtaylor/to-sentence-case

Example

var sentence = require('to-sentence-case');

sentence('the catcher in the rye'); 
// "The catcher in the rye"

API

toSentenceCase(string)

Returns the sentence-case variant of a string.

License

MIT

Current Tags

  • 1.0.0                                ...           latest (10 years ago)

2 Versions

  • 1.0.0                                ...           10 years ago
  • 0.1.1                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |