upper-case-first

Transforms the string with the first character in upper cased

Use `input.charAt(0).toUpperCase() + input.slice(1)`
Last updated 3 years ago by blakeembrey .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install upper-case-first 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.0                                ...           latest (3 years ago)

10 Versions

  • 3.0.0 [deprecated]           ...           3 years ago
  • 2.0.2                                ...           6 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.1.2                                ...           11 years ago
  • 1.1.1                                ...           12 years ago
  • 1.1.0                                ...           12 years ago
  • 1.0.1                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.0.1                                ...           13 years ago
Maintainers (1)
Downloads
Total 35
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 0
Last Month 9
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE