diff --git a/README.md b/README.md index ca422bb..255a306 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,25 @@ -![Celebrate](https://github.com/continuationlabs/celebrate/raw/master/images/logo.png) - -Logo design by chris.ruppert@gmail.com +[![celebrate](https://github.com/arb/celebrate/raw/master/images/logo.svg?sanitize=1)](https://www.npmjs.org/package/celebrate) [![Current Version](https://img.shields.io/npm/v/celebrate.svg)](https://www.npmjs.org/package/celebrate) [![Build Status](https://travis-ci.org/arb/celebrate.svg?branch=master)](https://travis-ci.org/arb/celebrate) [![airbnb-style](https://img.shields.io/badge/eslint-airbnb-4B32C3.svg)](https://github.com/airbnb/javascript) + + + + + + + +
Sponsored by + + Webflow + +
`celebrate` is an express middleware function that wraps the [joi](https://github.com/hapijs/joi/tree/v12.0.0) validation library. This allows you to use this middleware in any single route, or globally, and ensure that all of your inputs are correct before any handler function. The middleware allows you to validate `req.params`, `req.headers`, `req.query` and `req.body` (provided you are using `body-parser`). diff --git a/images/logo.svg b/images/logo.svg new file mode 100644 index 0000000..05e0271 --- /dev/null +++ b/images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/logo@3x.png b/images/logo@3x.png deleted file mode 100644 index ddb46f7..0000000 Binary files a/images/logo@3x.png and /dev/null differ diff --git a/images/webflow-logo-blue.svg b/images/webflow-logo-blue.svg new file mode 100644 index 0000000..063dd10 --- /dev/null +++ b/images/webflow-logo-blue.svg @@ -0,0 +1,26 @@ + + + + + + diff --git a/jest.config.js b/jest.config.js index ca6b826..79080f1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,7 +7,7 @@ module.exports = { branches: 100, functions: 100, lines: 100, - statements: 100 - } - } + statements: 100, + }, + }, };