From 760ec560a904684ad5d27c27918d00d848114381 Mon Sep 17 00:00:00 2001 From: nguyenchr Date: Wed, 7 Sep 2016 14:17:19 +1000 Subject: [PATCH 1/2] add badges for NPM, build, deps etc --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ab1f4ea..19aaf97 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ > CORS middleware with full [W3C spec](www.w3.org/TR/cors) support. +[![NPM](http://img.shields.io/npm/v/restify-cors-middleware.svg?style=flat)](https://npmjs.org/package/restify-cors-middleware) +[![License](http://img.shields.io/npm/l/restify-cors-middleware.svg?style=flat)](https://github.com/TabDigital/restify-cors-middleware) + +[![Build Status](http://img.shields.io/travis/TabDigital/restify-cors-middleware.svg?style=flat)](http://travis-ci.org/TabDigital/restify-cors-middleware) +[![Dependencies](http://img.shields.io/david/TabDigital/restify-cors-middleware.svg?style=flat)](https://david-dm.org/TabDigital/restify-cors-middleware) +[![Dev dependencies](http://img.shields.io/david/dev/TabDigital/restify-cors-middleware.svg?style=flat)](https://david-dm.org/TabDigital/restify-cors-middleware) +[![Known Vulnerabilities](https://snyk.io/package/npm/restify-cors-middleware/badge.svg)](https://snyk.io/package/npm/restify-cors-middleware) + ## Usage ```js From 10229cd180101e79eaef6bbe8024c90a9573da9f Mon Sep 17 00:00:00 2001 From: nguyenchr Date: Wed, 7 Sep 2016 14:25:30 +1000 Subject: [PATCH 2/2] Add peer deps badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 19aaf97..48f9172 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ [![Build Status](http://img.shields.io/travis/TabDigital/restify-cors-middleware.svg?style=flat)](http://travis-ci.org/TabDigital/restify-cors-middleware) [![Dependencies](http://img.shields.io/david/TabDigital/restify-cors-middleware.svg?style=flat)](https://david-dm.org/TabDigital/restify-cors-middleware) [![Dev dependencies](http://img.shields.io/david/dev/TabDigital/restify-cors-middleware.svg?style=flat)](https://david-dm.org/TabDigital/restify-cors-middleware) +[![Peer dependencies](http://img.shields.io/david/peer/TabDigital/restify-cors-middleware.svg?style=flat)](https://david-dm.org/TabDigital/restify-cors-middleware) [![Known Vulnerabilities](https://snyk.io/package/npm/restify-cors-middleware/badge.svg)](https://snyk.io/package/npm/restify-cors-middleware) ## Usage