New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

strman.tolowercase

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strman.tolowercase - npm Package Compare versions

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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc