Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@stdlib/string-lowercase
Advanced tools
Convert a string to lowercase.
npm install @stdlib/string-lowercase
var lowercase = require( '@stdlib/string-lowercase' );
Converts a string
to lowercase.
var str = lowercase( 'bEEp' );
// returns 'beep'
var lowercase = require( '@stdlib/string-lowercase' );
var str;
str = lowercase( 'Beep' );
// returns 'beep'
str = lowercase( 'BeEp' );
// returns 'beep'
str = lowercase( 'Beep BOOP' );
// returns 'beep boop'
str = lowercase( '$**_Beep_BoOp_**$' );
// returns '$**_beep_boop_**$'
str = lowercase( '' );
// returns ''
To use the module as a general utility, install the module globally
npm install -g @stdlib/string-lowercase
Usage: lowercase [options] [<string>]
Options:
-h, --help Print this message.
-V, --version Print the package version.
$ lowercase bEEp
beep
To use as a standard stream,
$ echo -n 'bEEp' | lowercase
beep
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2021. The Stdlib Authors.
0.0.2 (2021-06-15)
No changes reported for this release.
</section> <!-- /.release --> <section class="release" id="v0.0.1">FAQs
Convert a string to lowercase.
The npm package @stdlib/string-lowercase receives a total of 149,642 weekly downloads. As such, @stdlib/string-lowercase popularity was classified as popular.
We found that @stdlib/string-lowercase demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.