# rest-stager

> Stage REST data from APIs

Latest version **0.0.1** (published 2018-04-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install rest-stager
pnpm add rest-stager
yarn add rest-stager
bun add rest-stager
```

Provides the command `rest-stager`.

## 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 |
| Published | 2018-04-16 |
| First published | 2018-04-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 11.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Bjorlig |
| Maintainers | alexbjorlig |
| Keywords | api, REST, data |

## Links

- npm: https://www.npmjs.com/package/rest-stager
- Repository: https://github.com/dauledk/rest-stager
- Homepage: https://github.com/dauledk/rest-stager#readme
- Issues: https://github.com/dauledk/rest-stager/issues
- npm.io page: https://npm.io/package/rest-stager

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) ^2.15.1
- [node-emoji](https://npm.io/package/node-emoji.md) ^1.8.1
- [module-alias](https://npm.io/package/module-alias.md) ^2.0.6

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2018-04-16

## README

# Rest-Stager

*let the data flow from REST to any destination*

# This project is currently being moved from a non-open-source repo. Stay tuned for more info!

## Why

Moving data from any REST API, to any destination, should be easy and fun!

## Goal

Many developers are faced with the same task of moving data from a REST api, to a destination. This should not require custom coding, but just configuration of a simple script specyfing the source, transformation and destination. Then Rest Stager will take care of pagination, retry-strategies, logging, error-reporting and robustness.

## Motivation

Moving data from a singel REST endpoint seems trivial in the beginning, and Nodejs is an excellent tool to get started. But after writing several scripts, I realized that the tasks were almost the same: 

1) Figure out how to REST api worked, normally using Postman
2) Get the data with Nodejs + requests
3) Insert the data into a destination

However this naive approach resulted in:

*  Many scripts in differet repos
*  The same issues with failing requests
*  Big memory consumption, and slow loads
*  Limited error reporting and robustness

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