[Pkg-javascript-commits] [node-mocks-http] 213/296: docs(README): update other url references
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:38 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 16dbe0988263787f5eeea53569342a58e9214a56
Author: Johnny Estilles <johnny.estilles at agentia.asia>
Date: Thu Apr 30 10:41:54 2015 +0800
docs(README): update other url references
---
README.md | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index d154eb0..a94b091 100644
--- a/README.md
+++ b/README.md
@@ -1,19 +1,19 @@
-[![node-mocks-http logo](https://raw.githubusercontent.com/wiki/howardabrams/node-mocks-http/images/nmh-logo-200x132.png)](https://github.com/howardabrams/node-mocks-http)
+[![node-mocks-http logo][nmh-logo]][nmh-url]
---
-[![NPM version](https://badge.fury.io/js/node-mocks-http.png)](https://www.npmjs.com/package/node-mocks-http)
-[![Build Status](https://travis-ci.org/howardabrams/node-mocks-http.svg?branch=master)](https://travis-ci.org/howardabrams/node-mocks-http)
-[![Gitter chat](https://badges.gitter.im/howardabrams/node-mocks-http.png)](https://gitter.im/howardabrams/node-mocks-http)
+[![NPM version][npm-badge]][npm-url]
+[![Build Status][travis-badge]][travis-url]
+[![Gitter chat][gitter-badge]][gitter-url]
-Mock 'http' objects for testing [Express](http://expressjs.com/)
+Mock 'http' objects for testing [Express][express-url]
routing functions, but could be used for testing any
-[Node.js](http://www.nodejs.org) web server applications that have
+[Node.js][node-url] web server applications that have
code that requires mockups of the `request` and `response` objects.
## Installation
This project is available as a
-[NPM package](https://www.npmjs.org/package/node-mocks-http).
+[NPM package][npm-url].
```bash
$ npm install --save-dev node-mocks-http
@@ -86,7 +86,7 @@ of values after calling.
We are looking for more volunteers to bring value to this project,
including the creation of more objects from the
-[HTTP module](http://nodejs.org/docs/latest/api/http.html).
+[HTTP module][node-http-module-url].
This project doesn't address all features that must be
mocked, but it is a good start. Feel free to send pull requests,
@@ -101,7 +101,7 @@ Most releases fix bugs with our mocks or add features similar to the
actual `Request` and `Response` objects offered by Node.js and extended
by Express.
-[Most Recent Release Notes](https://github.com/howardabrams/node-mocks-http/releases)
+[Most Recent Release Notes][release-notes]
* [v1.4.2][release-v1.4.2] - April 30, 2015
* [v1.4.1][release-v1.4.1] - April 14, 2015
@@ -117,6 +117,24 @@ License
Licensed under [MIT](https://github.com/howardabrams/node-mocks-http/blob/master/LICENSE).
+[nmh-logo]: https://raw.githubusercontent.com/wiki/howardabrams/node-mocks-http/images/nmh-logo-200x132.png
+[nmh-url]: https://github.com/howardabrams/node-mocks-http
+
+[npm-badge]: https://badge.fury.io/js/node-mocks-http.png
+[npm-url]: https://www.npmjs.com/package/node-mocks-http
+
+[travis-badge]: https://travis-ci.org/howardabrams/node-mocks-http.svg?branch=master
+[travis-url]: https://travis-ci.org/howardabrams/node-mocks-http
+
+[gitter-badge]: https://badges.gitter.im/howardabrams/node-mocks-http.png
+[gitter-url]: https://gitter.im/howardabrams/node-mocks-http
+
+[express-url]: http://expressjs.com/
+[node-url]: http://www.nodejs.org
+[node-http-module-url]: http://nodejs.org/docs/latest/api/http.html
+
+[release-notes]: https://github.com/howardabrams/node-mocks-http/releases
+
[release-v1.4.2]: https://github.com/howardabrams/node-mocks-http/releases/tag/v1.4.2
[release-v1.4.1]: https://github.com/howardabrams/node-mocks-http/releases/tag/v1.4.1
[release-v1.4.0]: https://github.com/howardabrams/node-mocks-http/releases/tag/v1.4.0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list