# @focuson/rest

> This allows for declarative 'rest actions'. Get/Update/Create...

Latest version **1.44.3** (published 2024-02-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @focuson/rest
pnpm add @focuson/rest
yarn add @focuson/rest
bun add @focuson/rest
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.44.3 |
| Published | 2024-02-23 |
| First published | 2022-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 91.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | phil-rice |
| Keywords | runbook |

## Links

- npm: https://www.npmjs.com/package/@focuson/rest
- npm.io page: https://npm.io/package/@focuson/rest

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^4.3.4
- [@focuson/lens](https://npm.io/package/@focuson/lens.md) 1.44.3
- [@focuson/fetcher](https://npm.io/package/@focuson/fetcher.md) 1.44.3

## Recent versions

- 1.44.3 (latest) — 2024-02-23
- 1.44.2 — 2024-02-23
- 1.44.1 — 2022-12-09
- 1.44.0 — 2022-12-09
- 1.43.49 — 2022-12-08
- 1.43.48 — 2022-12-06
- 1.43.47 — 2022-12-06
- 1.43.46 — 2022-12-06
- 1.43.45 — 2022-12-06
- 1.43.44 — 2022-12-05
- 1.43.43 — 2022-12-05
- 1.43.42 — 2022-12-02
- 1.43.41 — 2022-12-02
- 1.43.40 — 2022-12-01
- 1.43.39 — 2022-12-01
- … 498 more at https://npm.io/package/@focuson/rest/versions

## README

# @focuson/rest

Higher level libraries in @focuson need to communicate with the backend. This provides the mechanisms to get 'restful' 
access to them. Specifically the low level code to process `RestCommands`


## RestCommand

To assist debugging, logging and testing (and simplify code) we separate end point access into 'what do I want to do' 
(restCommands) from 'how do I want to do it'. This allows us to process the rest commands in many ways

## State and RestCommands

If in the state we place a list of rest of commands then the `rest()` function will process those commands.

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