# objectmod

> Modded minimal object remake for specially 'freeze/unfreeze' for immutable data management

Latest version **0.0.1-alpha.3** (published 2017-05-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install objectmod
pnpm add objectmod
yarn add objectmod
bun add objectmod
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-alpha.3 |
| Published | 2017-05-07 |
| First published | 2017-05-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | dalisoft |
| Maintainers | dalisoft |
| Keywords | object, freeze, unfreeze |

## Links

- npm: https://www.npmjs.com/package/objectmod
- npm.io page: https://npm.io/package/objectmod

## Recent versions

- 0.0.1-alpha.3 (latest) — 2017-05-07
- 0.0.1-alpha.2 — 2017-05-07
- 0.0.1-alpha.1 — 2017-05-07
- 0.0.1-preview.8 — 2017-05-07
- 0.0.1-preview.7 — 2017-05-07
- 0.0.1-preview.6 — 2017-05-07
- 0.0.1-preview.5 — 2017-05-07
- 0.0.1-preview.4 — 2017-05-07
- 0.0.1-preview.3 — 2017-05-07
- 0.0.1-preview.2 — 2017-05-07
- 0.0.1-preview.1 — 2017-05-02
- 0.0.1-preview — 2017-05-02

## README

# State
* Version: <1.x.x
* Stability: Alpha
* Rank: 0/5

# Install

```bash
npm install objectmod
```

# Example

```javascript
const { freeze, unfreeze, isFrozen, assign } = require('objectmod');

// assign - same as Object.assign
// isFrozen - returns boolean based on freezed or not

const myData = { x : 20 };
	  freeze(myData); // Hooray, frozen
	  myData.x = 50;
	  console.log(myData) // myData={x:20};
	  unfreeze(myData);
	  myData.x = 50;
	  console.log(myData) // myData={x:50};
```

# License
ISC

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