Skip to content

Commit c6b9c4a

Browse files
committed
docs: fixed description
1 parent 550a7f8 commit c6b9c4a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![license](https://img.shields.io/github/license/cabinjs/request-received.svg)](LICENSE)
99
[![npm downloads](https://img.shields.io/npm/dt/request-received.svg)](https://npm.im/request-received)
1010

11-
> Route middleware for Koa and Express that adds `req[startAt]` high-resolution timer (via `process.hrtime()`) and `req[startTime]` Date (via `new Date()`) using `Symbol.for` to the request object. Made for Cabin.
11+
> Route middleware for Koa and Express that adds a request received high-resolution timer and Date to the request object using easily accessible Symbols to prevent request object pollution. Made for [Cabin][].
1212
1313

1414
## Table of Contents
@@ -131,3 +131,5 @@ app.listen();
131131
[npm]: https://www.npmjs.com/
132132

133133
[yarn]: https://yarnpkg.com/
134+
135+
[cabin]: https://cabinjs.com

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "request-received",
3-
"description": "Route middleware for Koa and Express that adds `req[startAt]` high-resolution timer (via `process.hrtime()`) and `req[startTime]` Date (via `new Date()`) using `Symbol.for` to the request object. Made for Cabin.",
3+
"description": "Route middleware for Koa and Express that adds a request received high-resolution timer and Date to the request object using easily accessible Symbols to prevent request object pollution. Made for Cabin.",
44
"version": "0.0.0",
55
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",
66
"ava": {

0 commit comments

Comments
 (0)