Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

to-sentence-case

ianstormtaylor107.8kMIT1.0.0

Convert a string to sentence case.

sentence, case, sentencecase, string

readme

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

changelog

1.0.0 - January 21, 2016

  • drop component support
  • cleanup readme
  • add travis ci
  • update coding style

0.1.1 - October 1, 2013

  • updated to-no-case

0.1.0 - September 18, 2013

  • updated to use to-no-case

0.0.1 - September 18, 2013

:sparkles: