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

string-capitalizer

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-capitalizer

A simple library that takes a string and returns a capitalized string

  • 1.0.3
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

String Manipulator

String Manipulator is a library written in vanilla JavaScript (ES6) that simplifies string manipulation by offering mutiple string manipulation functions. At the moment the library consists of one string manipulation method, it will expand to include more methods in later versions.

Capitalize string

capitalizeString() method capitalizes the first letter of a string and returns the capitalized string. If invalid string is inputted, 'invalid string'-error will be thrown.

Use instructions

Start by importing StringManipulator. Create a new instance of StringManipulator (new StringManipulator()) and invoke the method you wish to use.

Keywords

FAQs

Package last updated on 22 Sep 2024

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