# transform-string-cases

> Capitalizes or LowerCases the text or word

Latest version **1.1.2** (published 2020-09-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install transform-string-cases
pnpm add transform-string-cases
yarn add transform-string-cases
bun add transform-string-cases
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2020-09-10 |
| First published | 2020-09-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Abror Abdullaev |
| Maintainers | abrorabdullaev |
| Keywords | capitalize, lowercase, string |

## Links

- npm: https://www.npmjs.com/package/transform-string-cases
- Repository: https://github.com/abrorAbdullaev/transform-string-cases
- Homepage: https://github.com/abrorAbdullaev/transform-string-cases#readme
- Issues: https://github.com/abrorAbdullaev/transform-string-cases/issues
- npm.io page: https://npm.io/package/transform-string-cases

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.1.2 (latest) — 2020-09-10
- 1.0.2 — 2020-09-10
- 1.0.1 — 2020-09-10
- 1.0.0 — 2020-09-10

## README

# Transform String Cases
Capitalizes or LowerCases the text or word

## Installation
    npm install transform-text-cases --save

## Getting Started
    import { Transformer } from 'transform-text-cases';
    
    console.log(Transformer.capitalize('lowerCasedWord')); // LowerCasedWord
    console.log(Transformer.lowercase('Upper Cased Word'), true); // upper cased word
    
## Docs
All the methods are the property of the Transformer object

    import { Transformer } from 'transform-text-cases';

### capitalize

    Transform.capitalize(text, all, callback)

- text -- string to be transformed, transformed text is trimmed
- all -- boolean to transform all words in given sentence or only first word
- callback -- callback method for the transformed text: (text: string) => string
    
    
### lowercase

    Transform.lowercase(text, all, callback)

- text -- string to be transformed, transformed text is trimmed
- all -- boolean to transform all words in given sentence or only first word
- callback -- callback method for the transformed text: (text: string) => string

---
_Source: https://npm.io/package/transform-string-cases · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
