Skip to content

Commit

Permalink
docs: add install section to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Sep 9, 2018
1 parent cb02c82 commit 2433c29
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@

Assert with status codes. Like ctx.throw() in Koa, but with a guard.

## Install

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ npm install http-assert
```

## Example
```js
var assert = require('http-assert')
Expand Down

0 comments on commit 2433c29

Please sign in to comment.