# requiesce

> Request part maker for lazy developers.

Latest version **0.0.1** (published 2020-09-23) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-09-23 |
| First published | 2020-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Randy Lebeau |
| Maintainers | supremetechnopriest |
| Keywords | regex, param, variables, params, request, path |

## Links

- npm: https://www.npmjs.com/package/requiesce
- Repository: https://github.com/supremetechnopriest/requiest
- Homepage: https://github.com/supremetechnopriest/requiest#readme
- Issues: https://github.com/supremetechnopriest/requiest/issues
- npm.io page: https://npm.io/package/requiesce

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2020-09-23

## README

# Requiesce

A request part maker for lazy developers. You can pass it a parameterized url and an object, and it will return a valid url and a body object with the remaining data not used in url completion.

## Example
```js
import requiesce from 'requiesce'

const requestUrl = `https://api.mysite.com/accounts/:id/assets/:assetId`
const requestBody = {
  id: 12345,
  assetId: 67890,
  type: 'image' 
}

const { url, body } = requiesce(requestUrl, requestBody)

// url: https://api.mysite.com/accounts/12345/assets/67890
// body: { type: 'image' }

fetch(url, { method: 'POST', body })

```

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