dogyears
Version:
This is a module for calculating dog years
31 lines (23 loc) • 1.4 kB
Markdown
# DogYears
[](https://travis-ci.org/davidfekke/dogyears)
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]
[](https://coveralls.io/github/davidfekke/dogyears?branch=master)
[](https://badge.fury.io/js/dogyears)
[](https://nodejs.org)
[](https://nodejs.org)
[](https://nodejs.org)
[](https://nodejs.org)
[downloads-image]: https://img.shields.io/npm/dm/dogyears.svg
[npm-url]: https://www.npmjs.com/package/dogyears
[npm-image]: https://img.shields.io/npm/v/dogyears.svg
Use this module to convert human years for your pet into dog years.
[](https://nodei.co/npm/dogyears/)
## Example
```javascript
var DogYears = require('dogyears');
// The first parameter is the actual age of the dog, and the second is the weight of the dog.
console.log(DogYears(12, 10));
> 64.00810235249003
```
Copyright 2016