Skip to content

colakit/capitalize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@colakit/capitalize

@colakit/capitalize is designed to be simple and straightforward, similar to the _.capitalize function in lodash, but as a standalone module with no dependencies, making it perfect for projects where you want to keep your bundle size small.

Installation

To install @colakit/capitalize, use npm or yarn:

npm install @colakit/capitalize
# OR
yarn add @colakit/capitalize

Usage

Import @colakit/capitalize into your project and use it:

const capitalize = require("@colakit/capitalize");

// Example string
const myString = "FRED";

// Call function
const result = capitalize(myString);

// Output: 'Fred'
console.log(result);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages