strman.tolowercase
Advanced tools
Comparing version 2.0.0-pre-release-0 to 2.0.0
33
index.js
@@ -6,10 +6,27 @@ Object.defineProperty(exports, "__esModule", { | ||
/** | ||
* Transform to lowercase. | ||
* @playground | ||
* var toLowerCase = require('strman').toLowerCase; | ||
* let title = "A Javascript string manipulation library."; | ||
* let result = toLowerCase(title); | ||
* @param {String} value - The String!. | ||
* @return {String} - String in lowercase. | ||
*/ | ||
* @module toLowerCase | ||
* @description | ||
* Transform to lowercase. | ||
* ## Install | ||
* Install all functions of strman | ||
* ```sh | ||
* yarn add strman | ||
* ``` | ||
* or just the toLowerCase function | ||
* ```sh | ||
* yarn add strman.tolowercase | ||
* ``` | ||
* ## Usage | ||
* ```javascript | ||
* import { toLowerCase } from 'strman' | ||
* // OR | ||
* import toLowerCase from 'strman.tolowercase' | ||
* ``` | ||
* @param {String} value - The String! | ||
* @example | ||
* const title = 'A Javascript string manipulation library.' | ||
* toLowerCase(title) | ||
* // => 'a javascript string manipulation library.' | ||
* @returns {String} String in lowercase. | ||
*/ | ||
exports.default = function (value) { | ||
@@ -16,0 +33,0 @@ return value.toLowerCase(); |
{ | ||
"name": "strman.tolowercase", | ||
"version": "2.0.0-pre-release-0", | ||
"version": "2.0.0", | ||
"description": "The [strman](https://github.com/dleitee/strman) method `tolowercase` exported as a [Node.js](https://nodejs.org/) module.", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
# strman.tolowercase v2.0.0-pre-release-0 | ||
# strman.tolowercase v2.0.0 | ||
@@ -4,0 +4,0 @@ The [strman](https://github.com/dleitee/strman) method `tolowercase` exported as a [Node.js](https://nodejs.org/) module. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3034
32
0