Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.upperfirst

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.upperfirst

The lodash method `_.upperFirst` exported as a module.

  • 4.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4M
decreased by-57.95%
Maintainers
3
Weekly downloads
 
Created

What is lodash.upperfirst?

The lodash.upperfirst package is a utility function from the Lodash library that converts the first character of a string to uppercase. This can be particularly useful for formatting strings in a consistent manner, such as capitalizing the first letter of names, titles, or sentences.

What are lodash.upperfirst's main functionalities?

Uppercase First Character

This feature takes a string and converts the first character to uppercase. In the example, 'hello world' becomes 'Hello world'.

const upperFirst = require('lodash.upperfirst');
console.log(upperFirst('hello world')); // 'Hello world'

Other packages similar to lodash.upperfirst

Keywords

FAQs

Package last updated on 16 Feb 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc