Skip to content

Latest commit

 

History

History
108 lines (75 loc) · 4.53 KB

README-EN.md

File metadata and controls

108 lines (75 loc) · 4.53 KB

Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. Contribution
  6. License
  7. Acknowledge
  8. Donate
  9. Changelog

Introduction

Swap Case is a JavaScript extension that converts each letter of a string to its opposite. Lowercase letters are converted to uppercase and vice versa. It is made as similar as possible to the swapcase() function in Python.

Features

Swap Case offers the following features:

  • Converts each letter in a string to its opposite.
  • Can be integrated into TypeScript code.

Installation

To install Swap Case locally, follow these installation steps:

npm install @barudakrosul/swap-case

Usage

To start using Swap Case, import the module first:

1. CommonJS

require("@barudakrosul/swap-case");

2. ESM (ECMAScript Modules)

import "@barudakrosul/swap-case";

3. TypeScript

import "@barudakrosul/swap-case";

Example of usage:

let text = "Hello World!";
console.log(text.toSwapCase());

// Result:
// "hELLO wORLD!"

Contribution

Contributions to Swap Case are greatly appreciated! Whether reporting bugs, suggesting new features, or contributing to code improvements.

License

Swap Case is licensed under the CC0-1.0 License - see the LICENSE file for details.

Acknowledge

Swap Case appreciates the support and contributions of the following individuals and open source projects:

  • @Achixz - Lead developer and creator of the application.
  • Open source community - For valuable contributions to the tools and libraries used in this project.

Donate

We really appreciate your support to continue developing this project. If you find this project useful, you can support us with a donation:

Ko-fi Trakteer

Every donation, no matter the amount, means a lot to us. Thank you for your support! ❤️

Changelog

Keep up with the latest changes and updates of Swap Case by referring to Changelog.

Thank you for choosing Swap Case! We aim to provide an easy solution to convert strings into their reverse case.

Stand with Palestine