# @artgen/string-case

> Stateful string operator

Latest version **1.0.6** (published 2020-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @artgen/string-case
pnpm add @artgen/string-case
yarn add @artgen/string-case
bun add @artgen/string-case
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-10-08 |
| First published | 2020-10-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 10.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Varga Zsolt |
| Maintainers | hisorangenpm |
| Keywords | artgen, string, transform |

## Links

- npm: https://www.npmjs.com/package/@artgen/string-case
- Repository: https://github.com/artgenio/string-case
- Homepage: https://artgen.io/
- Issues: https://github.com/artgenio/string-case/issues
- npm.io page: https://npm.io/package/@artgen/string-case

## Dependencies (8)

- [tslib](https://npm.io/package/tslib.md) ^1.11.1
- [inflection](https://npm.io/package/inflection.md) ^1.12.0
- [strman.isuppercase](https://npm.io/package/strman.isuppercase.md) ^2.0.0
- [strman.tocamelcase](https://npm.io/package/strman.tocamelcase.md) ^2.0.0
- [strman.tokebabcase](https://npm.io/package/strman.tokebabcase.md) ^2.0.0
- [strman.tosnakecase](https://npm.io/package/strman.tosnakecase.md) ^2.0.0
- [strman.removespaces](https://npm.io/package/strman.removespaces.md) ^2.0.0
- [strman.tostudlycaps](https://npm.io/package/strman.tostudlycaps.md) ^2.0.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2020-10-08
- 1.0.5 — 2020-10-06
- 1.0.4 — 2020-10-05
- 1.0.3 — 2020-10-01
- 1.0.2 — 2020-10-01
- 1.0.1 — 2020-10-01
- 1.0.0 — 2020-10-01

## README

# Artgen - String Case

---

Easy to use package for stateful string manipulation. Featureful and tested collection of string transformation functions designed to operate with invidual strings as objects.

### Installation

---

```sh
npm i @artgen/string-case # or yarn add @artgen/string-case
```

### Examples

---

```ts
import { StringCase } from '@artgen/string-case';

const platform = new StringCase('Artgen Compiler');

platform.pascalCase.prefix('LoveFrom'); // LoveFromArtgenCompiler
```

### Transformers

---

Ever expanding list of available transformers:

| Function          | Input       | Output       |
| :---------------- | :---------- | :----------- |
| `.singular `      | Properties  | Property     |
| `.plural `        | Property    | Properties   |
| `.pascalCase `    | my property | MyProperty   |
| `.camelCase `     | my property | myProperty   |
| `.kebabCase `     | my property | my-property  |
| `.snakeCase `     | my property | my_property  |
| `.dotCase `       | my property | my.property  |
| `.humanCase `     | my_property | My property  |
| `.titleCase `     | my-property | My Property  |
| `.upperCase `     | my property | MY PROPERTY  |
| `.lowerCase `     | MY pRoperty | my property  |
| `.capitalCase `   | my property | My property  |
| `.vacuumCase `    | my property | myproperty   |
| `.prefix('my') `  | property    | myproperty   |
| `.suffix('ofme')` | property    | propertyofme |

### Changelog

---

See the detailed changes in the [CHANGELOG](changelog.md) file.

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