# sp2

> Immutable updater of objects using JSON operation.

Latest version **1.6.4** (published 2021-09-10) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.4 |
| Published | 2021-09-10 |
| First published | 2019-02-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Shin Suzuki |
| Maintainers | naturalclar, shinout, sasurau4, wh1tecat, bowzstandard, alternacrow, camcam-lemon |
| Keywords | immutable, mutable, copy-on-write, mongodb, state, redux, ddd, operation |

## Links

- npm: https://www.npmjs.com/package/sp2
- Repository: https://github.com/phenyl/sp2
- Homepage: https://github.com/phenyl/sp2#readme
- Issues: https://github.com/phenyl/sp2/issues
- npm.io page: https://npm.io/package/sp2

## Dependencies (3)

- [@sp2/format](https://npm.io/package/@sp2/format.md) ^1.6.4
- [@sp2/updater](https://npm.io/package/@sp2/updater.md) ^1.6.4
- [@sp2/retriever](https://npm.io/package/@sp2/retriever.md) ^1.6.4

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 1.6.4 (latest) — 2021-09-10
- 1.6.3 — 2020-03-10
- 1.6.2 — 2020-02-13
- 1.6.0-alpha.1 — 2020-01-30
- 1.5.1 — 2019-06-27
- 1.5.0 — 2019-06-01
- 1.4.1 — 2019-04-06
- 1.4.0 — 2019-04-06
- 1.3.0 — 2019-04-05
- 1.2.4 — 2019-04-03
- 1.2.3 — 2019-02-20
- 1.2.2 — 2019-02-18
- 1.2.1 — 2019-02-18

## README

# sp2

`sp2` is a set of JavaScript modules using syntax for **State-operating Procedures with Portability**.
Portability means that procedures are expressed by JSON data. This makes procedures portable and applicable over different environments.

This concept of "portable operation" is inspired by MongoDB. In fact, sp2 uses similar syntaxes as MongoDB's operations in its modules.

See more details [here](https://github.com/phenyl/sp2).

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