knock-knock
===========
An npm module that returns basic information about the current project.

## Install
`npm install`

## Usage
```
const KnockKnock = require('knock-knock');

KnockKnock(function (err, results) {
  if (err) throw err;
  console.log(results);
});
```

Logs:
```
{
  name: 'some-name',
  version: '1.2.3',
  env: 'production',
  node: 'v4.2.1',
  npm: '3.3.3'
}
```

### Examples
##### Hapi
```
const Hapi = require('hapi');
const KnockKnock = require('knock-knock');

var server = new Hapi.Server();

function ping(request, reply) {
  KnockKnock(reply);
}

server.route([
  { method: 'GET', path: '/ping', handler: ping }
]);
```

knock-knock
===========
An npm module that returns basic information about the current project.

## Install
`npm install`

## Usage
```
const KnockKnock = require('knock-knock');

KnockKnock(function (err, results) {
  if (err) throw err;
  console.log(results);
});
```

Logs:
```
{
  name: 'some-name',
  version: '1.2.3',
  env: 'production',
  node: 'v4.2.1',
  npm: '3.3.3'
}
```

### Examples
##### Hapi
```
const Hapi = require('hapi');
const KnockKnock = require('knock-knock');

var server = new Hapi.Server();

function ping(request, reply) {
  KnockKnock(reply);
}

server.route([
  { method: 'GET', path: '/ping', handler: ping }
]);
```

##### Express
```
var express = require('express');
var knockKnock = require('knock-knock');

var app = express();

app.get('/ping', function (req, res) {
  knockKnock(function (err, output) {
    res.send(err || output);
  });
});
```

Add express documentation to readme
Add express documentation to readme
