open-index/open-npm huggingface dataset:
npm package: @maxdome/duration
Description: ```javascript const duration = require('@maxdome/duration');
Latest version: 3.0.1

# Usage

```javascript
const duration = require('@maxdome/duration');

const milliseconds = duration('1h 20m').milliseconds();
```

## Input formats

* `ns`, `nanosecond`
* `microsecond`, `μs`
* `ms`, `millisecond`
* `s`, `sec`, `second`
* `m`, `min`, `minute`
* `h`, `hr`, `hour`
* `d`, `day`
* `w`, `wk`, `week`
* `month`
* `y`, `yr`, `year`

All formats also support the pluralizationed variants (e.g. `seconds`).

## Output format methods

* `.nanoseconds()`
* `.microseconds()`
* `.milliseconds()`
* `.seconds()`
* `.minutes()`
* `.hours()`
* `.days()`
* `.weeks()`
* `.months()`
* `.years()`
* `.toISOString()`

The output format methods are restricted to the pluralizationed variants to make the duration objects compatible to [moment.duration](http://momentjs.com/docs/#/durations/).
npm package: @maxdome/eb-deploy
Description: CLI for AWS Elastic Beanstalk deployments
Author: Fabian Schneider
Latest version: 2.1.4

# EB Deploy

[![Build Status](https://travis-ci.org/maxdome/eb-deploy.svg?branch=develop)](https://travis-ci.org/maxdome/eb-deploy)
[![Coverage Status](https://coveralls.io/repos/github/maxdome/eb-deploy/badge.svg?branch=develop)](https://coveralls.io/github/maxdome/eb-deploy?branch=develop)
[![npm](https://img.shields.io/npm/v/@maxdome/eb-deploy.svg)](https://www.npmjs.com/package/@maxdome/eb-deploy)
[![dependencies Status](https://david-dm.org/maxdome/eb-deploy/status.svg)](https://david-dm.org/maxdome/eb-deploy)
[![devDependencies Status](https://david-dm.org/maxdome/eb-deploy/dev-status.svg)](https://david-dm.org/maxdome/eb-deploy?type=dev)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg)](https://github.com/Flet/semistandard)


> CLI for AWS Elastic Beanstalk deployments
 
Inspired by [dpl](https://github.com/travis-ci/dpl).

## Install

```sh
$ npm install -g @maxdome/eb-deploy
```

## Usage

```
Usage: eb-deploy [options]

CLI for AWS Elastic Beanstalk deployments


Options:

  -V, --version                      output the version number
  -a, --application-name <value>     name of the Elastic Beanstalk application
  -e, --environment-name <value>     name of the Elastic Beanstalk environment
  -z, --zip-file [value]             the ZIP file that should be deployed
  -b, --bucket [value]               name of the S3 bucket to upload the ZIP file to
  -p, --bucket-path [value]          target location of the ZIP file within the S3 bucket
  -l, --version-label [value]        version label of the new app version
  -d, --version-description [value]  description of the new app version
  -r, --assume-role [value]          AWS role ARN to assume
  --only-create-app-version          only create a new app version without actually deploying it
  --ignore-existing-app-version      do not deploy an existing app version if the version with the label already exists
  --skip-wait-until-deployed         do not wait until the app is deployed
  --skip-cleanup                     skip the cleanup after the deploy
  --region [value]                   AWS region of the Elastic Beanstalk application
  --access-key-id [value]            AWS Access Key ID
  --secret-access-key [value]        AWS Secret Access Key
  --session-token [value]            AWS Session Token
  -h, --help                         output usage information
```

### Example

```
eb-deploy --application-name test-application \
          --environment-name test-application-test
```
npm package: @maxdome/health
Description: Provides an `/health` endpoint response with the health of the app in the [Spring Boot format](https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-monitoring.html#production-ready-health-access-restrictions).
Latest version: 2.1.1

Provides an `/health` endpoint response with the health of the app in the [Spring Boot format](https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-monitoring.html#production-ready-health-access-restrictions).

# Usage

```
app.get('/health', require('@maxdome/health').controller({
  example: () => {},
}));
```

# Example response

```
{
  "example": { status: "UP" },
  "status":"UP"
}
```

# Plugins

* Check with HTTP requests: [`health-got`](https://www.npmjs.com/package/@maxdome/health-got)

# Swagger

```yaml
paths:
  /health:
    get:
      summary: "Healthcheck if the app is running correctly"
      responses:
        200:
          description: "OK"
          schema:
            type: object
            properties:
              status:
                type: string
                example: "UP"
        500:
          description: "Internal Server Error"
```
npm package: @maxdome/health-got
Description: Provides check function for [`health`](http://npmjs.com/@maxdome/health) performing HTTP requests.
Latest version: 1.1.1

Provides check function for [`health`](http://npmjs.com/@maxdome/health) performing HTTP requests.

# Usage

```
app.get('/health', require('@maxdome/health').controller({
  example: require('@maxdome/health-got')('http://example.com/'),
}));
```

# Example response

```
{
  "example": {
    "method": "GET",
    "options": {
      "json": true
    },
    "status": "UP",
    "url": "http://example.com/"
  },
  "status": "UP"
}
```
npm package: @maxdome/health-mongoose
Description: Provides check function for [`health`](http://npmjs.com/@maxdome/health) checking MongoDB connection using [`mongoose`](https://www.npmjs.com/package/mongoose).
Latest version: 2.0.1

Provides check function for [`health`](http://npmjs.com/@maxdome/health) checking MongoDB connection using [`mongoose`](https://www.npmjs.com/package/mongoose).

# Usage

```
app.get('/health', require('@maxdome/health').controller({
  db: require('@dnode/health-mongoose')({ db }),
}));
```

# Example response

```
{
   "outcome": "UP",
   "checks": [
      {
         "name": "db",
         "state": "UP"
      }
   ]
}
```
npm package: @maxdome/health-mongoskin
Description: Provides check function for [`health`](http://npmjs.com/@maxdome/health) checking MongoDB connection using [`mongoskin`](https://www.npmjs.com/package/mongoskin).
Latest version: 1.0.1

Provides check function for [`health`](http://npmjs.com/@maxdome/health) checking MongoDB connection using [`mongoskin`](https://www.npmjs.com/package/mongoskin).

# Usage

```
app.get('/health', require('@maxdome/health').controller({
  db: require('@dnode/health-mongoskin')({ db }),
}));
```

# Example response

```
{
   "outcome": "UP",
   "checks": [
      {
         "name": "db",
         "state": "UP"
      }
   ]
}
```