# hapi-recall

> Interpret route format for `hapi` and provide a way to construct a formatted route

Latest version **0.0.1** (published 2015-01-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install hapi-recall
pnpm add hapi-recall
yarn add hapi-recall
bun add hapi-recall
```

## 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 | 2015-01-28 |
| First published | 2015-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Andy Lin |
| Maintainers | miloconway |
| Keywords | hapi, call, router |

## Links

- npm: https://www.npmjs.com/package/hapi-recall
- Repository: https://github.com/miloconway/hapi-recall
- Issues: https://github.com/miloconway/hapi-recall/issues
- npm.io page: https://npm.io/package/hapi-recall

## Dependencies (1)

- [call](https://npm.io/package/call.md) ^2.0.1

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2015-01-28

## README

# hapi-recall
[hapi's](https://www.npmjs.com/package/hapi) router module, [call](https://www.npmjs.com/package/call), parses a path and extract the params from a matching path. This module does the inverse: given a `hapi` path and a query object representing the path params, return a formatted path

# To use
```
var hapiRecall = require('hapi-recall');

hapiRecall('/{foo}', {foo:'bar'}); // => '/bar'
hapiRecall('/{foo}/literal/{buzz}', {foo:'bar',buzz:'bee'}); // => '/bar/literal/bee'
```

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