1.0.1 • Published 10 years ago

to-lower v1.0.1

Weekly downloads
13
License
-
Repository
github
Last release
10 years ago

to-lower

Converts string, as a whole, to lower case.

MIT License

build:? coverage:?

Install

$ npm install --save to-lower 

Usage

For more use-cases see the tests

var toLower = require('to-lower');

toLower('abc');          // => 'abc'
toLower('--FOO-BAR--');  // => '--foo-bar--'
toLower('FOOBAR');       // => 'foobar'
toLower('__FOO_BAR__');  // => '__foo_bar__'

Related

  • to-upper - Converts string, as a whole, to upper case.
  • to-integer - Converts the given value to an integer.
  • to-num - Converts the given value to a number.
  • to-str - Converts the given value to a string.
  • to-length - Converts value to an integer suitable for use as the length of an array-like object.
  • to-path - Converts value to a property path array.
  • to-source-code - Converts function to its source code.

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

1.0.1

10 years ago

1.0.0

10 years ago

0.0.0

10 years ago