Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple library for string manipulation. This package offers utility functions for common string operations like reversing a string, capitalizing words, and counting vowels.

Notifications You must be signed in to change notification settings

mahmud-r-farhan/string-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

String Utils

A simple library for string manipulation. This package offers utility functions for common string operations like reversing a string, capitalizing words, and counting vowels.

Features

  • Reverse a string
  • Capitalize the first letter of each word in a string
  • Count vowels in a string

Installation

Install the package using npm:

npm i @conflow/string-utils

Usage

Import the functions in your project:

const { reverseString, capitalizeWords, countVowels } = require('@conflow/string-utils');
// Example usage
console.log(reverseString('hello')); // Output: "olleh"
console.log(capitalizeWords('hello world')); // Output: "Hello World"
console.log(countVowels('hello')); // Output: 2

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Links

npm version

About

A simple library for string manipulation. This package offers utility functions for common string operations like reversing a string, capitalizing words, and counting vowels.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /