Socket
Socket
Sign inDemoInstall

lower-case

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lower-case

Lowercase a string


Version published
Weekly downloads
21M
decreased by-1.66%
Maintainers
1
Install size
4.33 kB
Created
Weekly downloads
 

Package description

What is lower-case?

The lower-case npm package is designed to convert strings to lower case. It can be used in various JavaScript environments, including Node.js and browsers, to ensure that strings are in lower case for consistency, comparison, or other purposes where case normalization is required.

What are lower-case's main functionalities?

Convert string to lower case

This feature allows you to convert a string to lower case using the toLowerCase method.

"STRING".toLowerCase()

Other packages similar to lower-case

Readme

Source

Lower Case

NPM version Build status Test coverage Gittip

Lower case a string. Also handles non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will come out as an empty string.

Installation

npm install lower-case --save

Usage

var lowerCase = require('lower-case');

lowerCase(null);     //=> ""
lowerCase('STRING'); //=> "string"

upperCase({ toString: function () { return 'TEST'; } }); //=> "test"

License

MIT

Keywords

FAQs

Last updated on 17 Aug 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc