New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

title-case-master

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

title-case-master

Title-Case-Master is a lightweight JavaScript utility library designed to simplify the task of converting input names into a consistent sentence case format. It takes into account various scenarios and ensures proper capitalization for names, making it pe

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Title-Case-Master

TitleCaseMaster is a lightweight JavaScript utility library designed to simplify the task of converting input names into a consistent sentence case format. It takes into account various scenarios and ensures proper capitalization for names, making it perfect for applications where accurate naming conventions are crucial.

Installation

You can install name-converter using npm or yarn:

npm install name-converter

or

yarn add name-converter

Usage

const nameConverter = require('name-converter');

const formattedName = nameConverter('faMba abdulNassIIR');

console.log(formattedName);

//output: 'Famba Abdulnassiir'

Functionality

nameConverter(nameString)

  • Parameters:

    • nameString: A string containing the name to be formatted.
  • Returns:

    • A string with the name converted to sentence case.
  • Example:

   const formattedName = nameConverter('eLiZaBeTh sMiTh');

   console.log(formattedName);

   // Output: 'Elizabeth Smith'

Contributing.

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or create a pull request on the https://github.com/Famba-Abdulnassiir/TitleCaseMaster.git

Keywords

name-conversion

FAQs

Package last updated on 02 Oct 2023

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