# picklock

> The picklock practically for any situation - collection of usefull tools

Latest version **0.6.1** (published 2018-01-24) · MIT license · 0 weekly downloads

## Install

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

## 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.6.1 |
| Published | 2018-01-24 |
| First published | 2017-06-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ivan Zusko |
| Maintainers | ivanzusko |
| Keywords | utilz, object, immutable, add, clone, delete, update, add property, clone object, delete property, update property |

## Links

- npm: https://www.npmjs.com/package/picklock
- Repository: https://github.com/ivanzusko/picklock
- Issues: https://github.com/ivanzusko/picklock/issues
- npm.io page: https://npm.io/package/picklock

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.6.1 (latest) — 2018-01-24
- 0.6.0 — 2018-01-24
- 0.5.1 — 2017-07-16
- 0.5.0 — 2017-07-16
- 0.4.0 — 2017-06-16
- 0.3.1 — 2017-06-14
- 0.3.0 — 2017-06-14
- 0.2.14 — 2017-06-11
- 0.2.12 — 2017-06-09
- 0.2.10 — 2017-06-09
- 0.2.9 — 2017-06-09
- 0.2.8 — 2017-06-09
- 0.2.7 — 2017-06-09
- 0.2.6 — 2017-06-09
- 0.2.5 — 2017-06-09
- … 7 more at https://npm.io/package/picklock/versions

## README

# Picklock
The picklock practically for any situation 🙃 - collection of usefull tools

<p align="center">
  <a href="https://www.npmjs.com/package/picklock" target="_blank"><img src="https://img.shields.io/npm/v/picklock.svg"></a>
  <a href="https://travis-ci.org/ivanzusko/picklock" target="_blank">
    <img src="https://travis-ci.org/ivanzusko/picklock.svg?branch=master" alt="travis-web"/>
  </a>
  <img src="https://img.shields.io/npm/dt/picklock.svg" alt="total downloads" />
  <a href="https://www.npmjs.com/package/picklock" target="_blank"><img src="https://img.shields.io/badge/test_coverage-100%25-brightgreen.svg"></a>
  <a href="https://github.com/ivanzusko/picklock/blob/master/DOCUMENTATION.md" target="_blank"><img src="https://img.shields.io/badge/Documentation-ready-brightgreen.svg"></a>
  <a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/npm/l/picklock.svg"></a>
</p>

Here you can read some [documentation](https://github.com/ivanzusko/picklock/blob/master/DOCUMENTATION.md).

## Installing
```sh
yarn add picklock --dev
```
or
```sh
npm i picklock -D
```

## Usage example
```javascript
import { addProperty, deleteProperty } from 'picklock';

const Snow = {
  name: 'John',
  age: 20,
  role: 'Bastard',
}

const Stark = deleteProperty(Snow, 'role');

console.log(Stark) // => { name: 'John', age: 20 }
console.log(Snow) // => { name: 'John', age: 20, role: 'Bastard' }
console.log(addProperty(Snow, 'father', 'Eddard')) // => { name: 'John', age: 20, role: 'Bastard', father: 'Eddard' }
console.log(addProperty(Snow, 'name', 'Ramsay')) // => Error: Property 'name' already exists in target Object!
```

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