Skip to content

gearcase/to-upper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

to-upper

Converts string, as a whole, to upper case.

MIT License

build:? coverage:?

Install

$ npm install --save to-upper 

Usage

For more use-cases see the tests

var toUpper = require('to-upper');

toUpper('ABC');          // => 'ABC'
toUpper('--foo-bar--');  // => '--FOO-BAR--'
toUpper('fooBar');       // => 'FOOBAR'
toUpper('__foo_bar__');  // => '__FOO_BAR__'

Related

  • to-lower - Converts string, as a whole, to lower case.
  • to-integer - Converts the given value to an integer.
  • to-num - Converts the given value to a number.
  • to-str - Converts the given value to a string.
  • to-length - Converts value to an integer suitable for use as the length of an array-like object.
  • to-path - Converts value to a property path array.
  • to-source-code - Converts function to its source code.

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

About

Converts string, as a whole, to upper case.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published