# @ssdcode/js-mutators

> Set of methods providing functionality to mutate the given value

Latest version **0.1.4** (published 2020-07-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ssdcode/js-mutators
pnpm add @ssdcode/js-mutators
yarn add @ssdcode/js-mutators
bun add @ssdcode/js-mutators
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2020-07-15 |
| First published | 2020-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sebastian Sulinski |
| Maintainers | sebastiansulinski |
| Keywords | javascript mutators |

## Links

- npm: https://www.npmjs.com/package/@ssdcode/js-mutators
- Repository: https://github.com/sebastiansulinski/js-mutators
- Homepage: https://github.com/sebastiansulinski/js-mutators#readme
- Issues: https://github.com/sebastiansulinski/js-mutators/issues
- npm.io page: https://npm.io/package/@ssdcode/js-mutators

## Recent versions

- 0.1.4 (latest) — 2020-07-15
- 0.1.3 — 2020-06-05
- 0.1.2 — 2020-06-04
- 0.1.1 — 2020-06-04
- 0.1.0 — 2020-06-04

## README

# JS Mutators

Set of methods providing functionality to mutate the given value.

## Installation

```bash
npm install @ssdcode/js-mutators --save-dev
```

Import relevant methods using ES6 import statement

```javascript
import { toUpperCase, toLowerCase, slug } from 'js-mutators';
```

## Available methods

---

#### toUpperCase

Converts string to uppercase. See [String.prototype.toUpperCase()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase)

---

#### toLowerCase

Converts string to lowercase. See [String.prototype.toLowerCase()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toLowerCase)

---

#### slug

Converts string to lower case, hyphen concatenated slug.

---

## Tests

You can execute tests by calling

```bash
npm run test
```

## Contributions

Contributions are welcome - please make sure all PRs have their associated test.

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