open-index/open-npm huggingface dataset:
npm package: @maxdome/healthcheck
Description: ``` const healthChecks = {   service1: 'https://service1.com/ping',   service2: { method: 'POST', url: 'https://service2.com/ping' },   service3: { url: 'https://service3.com/ping', options: { headers: { 'Authorization': `Basic dXNlcjpwYXNz` } } }, };
Latest version: 1.0.1
Deprecated: Deprecate in favour of @maxdome/health

# Usage

```
const healthChecks = {
  service1: 'https://service1.com/ping',
  service2: { method: 'POST', url: 'https://service2.com/ping' },
  service3: { url: 'https://service3.com/ping', options: { headers: { 'Authorization': `Basic dXNlcjpwYXNz` } } },
};

app.use('/health', require('@maxdome/healthcheck')({ healthChecks }));
```
npm package: @maxdome/http-auth
Description: ``` const httpAuth = require('@maxdome/http-auth')({   user: process.env.HTTP_AUTH_USER,   password: process.env.HTTP_AUTH_PASSWORD, }); ```
Latest version: 1.0.7

# Usage

```
const httpAuth = require('@maxdome/http-auth')({
  user: process.env.HTTP_AUTH_USER,
  password: process.env.HTTP_AUTH_PASSWORD,
});
```
npm package: @maxdome/info
Description: ``` app.use('/info', require('@maxdome/info')()); ```
Latest version: 3.0.9

# Usage

```
app.use('/info', require('@maxdome/info')());
```

If a `.env.example` exists, only keys which are defined with an ` #info` will be displayed with the `/info/env`.

e.g. a `.env.example` with:
```
SECRET=
PORT= #info
```

will result in a `/info/env`:
```
{
  "PORT": "8000"
}
```
npm package: @maxdome/logging-middleware
Description: ``` app.use(require('@maxdome/logging-middleware')({   logging,   options, })); ```
Latest version: 2.1.2

# Usage

```
app.use(require('@maxdome/logging-middleware')({
  logging,
  options,
}));
```

See [express-winston](https://github.com/bithavoc/express-winston#request-logging) for options.

## Error Logging

```
app.use(require('@maxdome/logging-middleware').errorLogging({
  logging,
  options,
  errorHandler,
}));
```

See [express-winston#error-logging](https://github.com/bithavoc/express-winston#error-logging) for options.