# digitalocean-cost-calculator [![Circle CI](https://circleci.com/gh/vdemedes/digitalocean-cost-calculator.svg?style=svg)](https://circleci.com/gh/vdemedes/digitalocean-cost-calculator)

Calculate monthly cost on digitalocean.


### Installation

```
$ npm install digitalocean-cost-calculator --save
```


### Usage

```javascript
const calculate = require('digitalocean-cost-calculator');

let cost = calculate(25, '512mb'); // 512mb, 1gb, 2gb, etc
```


### Tests

[![Circle CI](https://circleci.com/gh/vdemedes/digitalocean-cost-calculator.svg?style=svg)](https://circleci.com/gh/vdemedes/digitalocean-cost-calculator)

```
$ make test
```


### License

digitalocean-cost-calculator is released under the MIT license.
