# @beautiful-code/object-utils

> Library for manipulating objects.

Latest version **0.2.1** (published 2018-02-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install @beautiful-code/object-utils
pnpm add @beautiful-code/object-utils
yarn add @beautiful-code/object-utils
bun add @beautiful-code/object-utils
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2018-02-25 |
| First published | 2017-09-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.4 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | mynamereallysux |

## Links

- npm: https://www.npmjs.com/package/@beautiful-code/object-utils
- Repository: https://github.com/MyNameReallySux/object-utils
- Homepage: https://github.com/MyNameReallySux/object-utils#readme
- Issues: https://github.com/MyNameReallySux/object-utils/issues
- npm.io page: https://npm.io/package/@beautiful-code/object-utils

## Dependencies (3)

- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [@beautiful-code/type-utils](https://npm.io/package/@beautiful-code/type-utils.md) git+https://git@github.com/mynamereallysux/type-utils.git
- [@beautiful-code/string-utils](https://npm.io/package/@beautiful-code/string-utils.md) ^0.1.6

## Recent versions

- 0.2.1 (latest) — 2018-02-25
- 0.2.0 — 2018-02-25
- 0.0.6 — 2017-12-10
- 0.0.5 — 2017-12-10
- 0.0.3 — 2017-09-30
- 0.0.2 — 2017-09-30

## README

# Object Utils

This is a simple, object utility library. This is intended to be used imported via Node.js (or a bundler like Webpack for client side).

## Installation

### Using NPM or Yarn
```
npm install '@beautiful-code/object-utils'
yard add '@beautiful-code/object-utils'
```

## Usage

### Basic Usage

```javascript
const ObjectUtils = require('@beautiful-code/string-utils').ObjectUtils

let example = {
    key: 'value',
    key2: 'value2',
    key3: 'value3'
}

let swapped = ObjectUtils.swap(example)

console.log(swapped.value)  // key
console.log(swapped.value2) // key2
console.log(swapped.value3) // key3

let extended = ObjectUtils.extend(swapped, {
    extra: 'value4'
})

console.log(extended.value)  // key
console.log(extended.extra)  // value4


```

---
_Source: https://npm.io/package/@beautiful-code/object-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
