Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

upper-case

blakeembrey50.9mMITdeprecated3.0.0TypeScript support: included

Use str.toLocaleUpperCase or str.toUpperCase

Transforms the string to upper case

upper, case, upcase, locale, convert, transform

readme

Upper Case

Transforms the string to upper case.

Installation

npm install upper-case --save

Usage

import { upperCase, localeUpperCase } from "upper-case";

upperCase("string"); //=> "STRING"

localeUpperCase("string", "tr"); //=> "STRİNG"

License

MIT