Socket
Socket
Sign inDemoInstall

upper-case-first

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    upper-case-first

Transforms the string with the first character in upper cased


Version published
Weekly downloads
7.5M
increased by1.45%
Maintainers
1
Install size
2.13 kB
Created
Weekly downloads
 

Package description

What is upper-case-first?

The upper-case-first npm package is a simple utility that allows you to capitalize the first letter of a string. It is useful when you need to ensure that a string is properly capitalized, such as when formatting names or titles.

What are upper-case-first's main functionalities?

Capitalize the first letter of a string

This feature takes a string and capitalizes the first character of that string. It is useful for formatting text that needs to start with a capital letter.

"use strict";
var upperCaseFirst = require('upper-case-first');
console.log(upperCaseFirst('string')); // 'String'

Other packages similar to upper-case-first

Readme

Source

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

Keywords

FAQs

Last updated on 30 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc