Browse Source

Add npm badge to readme

pull/10/head
Luke Childs 8 years ago
parent
commit
176fb2954a
  1. 4
      README.md

4
README.md

@ -2,7 +2,9 @@
> Calculate when HTTP responses expire from the cache headers
[![Build Status](https://travis-ci.org/lukechilds/expired.svg?branch=master)](https://travis-ci.org/lukechilds/expired) [![Coverage Status](https://coveralls.io/repos/github/lukechilds/expired/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/expired?branch=master)
[![Build Status](https://travis-ci.org/lukechilds/expired.svg?branch=master)](https://travis-ci.org/lukechilds/expired)
[![Coverage Status](https://coveralls.io/repos/github/lukechilds/expired/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/expired?branch=master)
[![npm](https://img.shields.io/npm/v/expired.svg)](https://www.npmjs.com/package/expired)
`expired` accepts HTTP headers as an argument and will return information on when the resource will expire. `Cache-Control` and `Expires` headers are supported, if both exist `Cache-Control` takes priority ([Why?](http://stackoverflow.com/a/7549558/5625059)).

Loading…
Cancel
Save