Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit adc2686

Browse files
author
James Wright
committed
Updates README
1 parent 7015e81 commit adc2686

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Reno logo](https://raw.githubusercontent.com/reno-router/reno/master/logo/reno-500.png)
44

5-
[![Build status](https://github.com/reno-router/reno/workflows/CI/badge.svg)](https://github.com/reno-router/reno/actions) [![Deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/[email protected].15/reno/mod.ts) [![Published on Nest.land](https://nest.land/badge.svg)](https://nest.land/package/reno)
5+
[![Build status](https://github.com/reno-router/reno/workflows/CI/badge.svg)](https://github.com/reno-router/reno/actions) [![Deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/[email protected].16/reno/mod.ts) [![Published on Nest.land](https://nest.land/badge.svg)](https://nest.land/package/reno)
66

77
Reno is a thin routing library designed to sit on top of [Deno](https://deno.land/)'s [standard HTTP module](https://github.com/denoland/deno/tree/master/std/http).
88

@@ -26,10 +26,10 @@ import {
2626
jsonResponse,
2727
streamResponse,
2828
NotFoundError,
29-
} from "https://deno.land/x/[email protected].15/reno/mod.ts";
29+
} from "https://deno.land/x/[email protected].16/reno/mod.ts";
3030

3131
/* Alternatively, you can import Reno from nest.land:
32-
* import { ... } from "https://x.nest.land/[email protected].15/reno/mod.ts";
32+
* import { ... } from "https://x.nest.land/[email protected].16/reno/mod.ts";
3333
*/
3434

3535
function createErrorResponse(status: number, { message }: Error) {
@@ -86,7 +86,7 @@ await listenAndServe(
8686
This, along with request handlers being [pure functions](https://en.wikipedia.org/wiki/Pure_function), makes unit testing Reno services a breeze:
8787

8888
```ts
89-
import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/[email protected].15/reno/mod.ts";
89+
import { jsonResponse, assertResponsesAreEqual } from "https://deno.land/x/[email protected].16/reno/mod.ts";
9090
import { createRonSwansonQuoteHandler } from "./routes.ts";
9191

9292
const createFetchStub = (response: string[]) =>
@@ -170,7 +170,7 @@ import {
170170
RouteHandler,
171171
textResponse,
172172
createRouteMap
173-
} from "https://deno.land/x/[email protected].15/reno/mod.ts";
173+
} from "https://deno.land/x/[email protected].16/reno/mod.ts";
174174

175175
import isValidAPIKey from "./api_keys.ts";
176176

@@ -208,7 +208,7 @@ export const routes = createRouteMap([
208208
Additionally, Reno provides a `pipe` utility for creating a higher-order route handler that invokes a sequence of functions against both the original request _and_ the computed response:
209209

210210
```ts
211-
import { createRouteMap, jsonResponse, pipe } from "https://deno.land/x/[email protected].15/reno/mod.ts";
211+
import { createRouteMap, jsonResponse, pipe } from "https://deno.land/x/[email protected].16/reno/mod.ts";
212212

213213
const withCaching = pipe(
214214
(req, res) => {
@@ -257,11 +257,11 @@ Deno.test("/ should return the expected response", async () => {
257257

258258
## Example Apps
259259

260-
As well as the [example app found in this repo](https://github.com/reno-router/reno/tree/v1.3.15/example), which is targetted by the end-to-end test suite, there is a [standalone repository for a blog microservice](https://github.com/reno-router/blog-microservice) built with Deno, Reno, PostgreSQL, and Docker.
260+
As well as the [example app found in this repo](https://github.com/reno-router/reno/tree/v1.3.16/example), which is targetted by the end-to-end test suite, there is a [standalone repository for a blog microservice](https://github.com/reno-router/blog-microservice) built with Deno, Reno, PostgreSQL, and Docker.
261261

262262
## API Documentation
263263

264-
Consult [Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/[email protected].15/reno/mod.ts) for comprehensive documentation on Reno's API.
264+
Consult [Reno's entry on the Deno Doc website](https://doc.deno.land/https/deno.land/x/[email protected].16/reno/mod.ts) for comprehensive documentation on Reno's API.
265265

266266
## Local Development
267267

0 commit comments

Comments
 (0)