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

Package detail

upper-case-first

blakeembrey36.9mMITdeprecated3.0.0TypeScript support: included

Use input.charAt(0).toUpperCase() + input.slice(1)

Transforms the string with the first character in upper cased

upper, case, first, capitalize, convert, transform

readme

Upper Case First

Transforms the string with the first character in upper cased.

Installation

npm install upper-case-first --save

Usage

import { upperCaseFirst } from "upper-case-first";

upperCaseFirst("test"); //=> "Test"

License

MIT