time-to-botec/squiggle/node_modules/@stdlib/string/lowercase
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00
..
bin feat: add the node modules 2022-12-03 12:44:49 +00:00
docs feat: add the node modules 2022-12-03 12:44:49 +00:00
etc feat: add the node modules 2022-12-03 12:44:49 +00:00
lib feat: add the node modules 2022-12-03 12:44:49 +00:00
package.json feat: add the node modules 2022-12-03 12:44:49 +00:00
README.md feat: add the node modules 2022-12-03 12:44:49 +00:00

lowercase

Convert a string to lowercase.

Usage

var lowercase = require( '@stdlib/string/lowercase' );

lowercase( str )

Converts a string to lowercase.

var str = lowercase( 'bEEp' );
// returns 'beep'

Examples

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 ''

CLI

Usage

Usage: lowercase [options] [<string>]

Options:

  -h,    --help                Print this message.
  -V,    --version             Print the package version.

Examples

$ lowercase bEEp
beep

To use as a standard stream,

$ echo -n 'bEEp' | lowercase
beep

See Also