time-to-botec/js/node_modules/@stdlib/string/uppercase
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

uppercase

Convert a string to uppercase.

Usage

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

uppercase( str )

Converts a string to uppercase.

var str = uppercase( 'bEEp' );
// returns 'BEEP'

Examples

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

var str;

str = uppercase( 'Beep' );
// returns 'BEEP'

str = uppercase( 'BeEp' );
// returns 'BEEP'

str = uppercase( 'Beep BOOP' );
// returns 'BEEP BOOP'

str = uppercase( '$**_beep_BoOp_**$' );
// returns '$**_BEEP_BOOP_**$'

str = uppercase( '' );
// returns ''

CLI

Usage

Usage: uppercase [options] [<string>]

Options:

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

Examples

$ uppercase bEEp
BEEP

To use as a standard stream,

$ echo -n 'bEEp' | uppercase
BEEP

See Also