# capitalize-lightweight

> 2 lightweight helper functions to do 'helloWORLD' → 'Helloworld' or 'helloWORLD' → 'HelloWORLD'.

Latest version **1.0.2** (published 2023-11-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install capitalize-lightweight
pnpm add capitalize-lightweight
yarn add capitalize-lightweight
bun add capitalize-lightweight
```

## 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.0.2 |
| Published | 2023-11-14 |
| First published | 2023-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Markus Kurzmann |
| Maintainers | maks-io |
| Keywords | capitalize, string, strings, uppercase, lowercase |

## Links

- npm: https://www.npmjs.com/package/capitalize-lightweight
- Repository: https://github.com/maks-io/capitalize-lightweight
- Homepage: https://github.com/maks-io/capitalize-lightweight#readme
- Issues: https://github.com/maks-io/capitalize-lightweight/issues
- npm.io page: https://npm.io/package/capitalize-lightweight

## 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.0.2 (latest) — 2023-11-14
- 1.0.1 — 2023-05-22
- 1.0.0 — 2023-05-22

## README

<img alt="google-sheets-logo" src="./documentation/logo.png" />

[![Version](https://img.shields.io/npm/v/capitalize-lightweight)](https://www.npmjs.com/package/capitalize-lightweight)

2 lightweight helper functions to do `'helloWORLD' → 'Helloworld'` or `'helloWORLD' → 'HelloWORLD'`.

## Install

```
npm install --save capitalize-lightweight
```

Or via Yarn:

```
yarn add capitalize-lightweight
```

## Usage

```typescript
import { capitalize, capitalizeExtra } from "capitalize-lightweight";

const s1 = capitalize('helloWORLD');
console.log(s1); // => 'HelloWORLD'

const s2 = capitalizeExtra('helloWORLD');
console.log(s2); // => 'Helloworld'
```

## "wHy dO i NEeD A LiBrary FOr that?!"
You don't ofc. I wanted mine. Feel free to re-use it.

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