Feature request: `toLower / toFirstLower / decapitalize`
vorillaz opened this issue · comments
Theodore Vorillas commented
Converts the first character of the input text to lowercase. If the second parameter is true, the method converts the rest of the subject to lower case.
@param {String} text
@param {Boolean} isLowercase
Example usage
import toLower from '@plexis/to-lower';
toLower('foo Bar');
// => foo Bar
toLower('FOO Bar');
// => fOO Bar
toLower('fOO Bar', true);
// => foo bar
Aliases
import toLower from '@plexis/to-lower';
import {toLower, toFirstLower, decapitalize } from 'plexis';
Theodore Vorillas commented
@4doge Thanks for the contribution, your package has been published in favor of plexis v0.0.12
.
An additional package was published https://www.npmjs.com/package/@plexis/to-lower