catyears
Version:
A function to calculate cat years.
31 lines (23 loc) • 1.33 kB
Markdown
# CatYears
[](https://travis-ci.org/davidfekke/catyears)
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][npm-url]
[](https://coveralls.io/github/davidfekke/catyears?branch=master)
[](https://badge.fury.io/js/catyears)
[](https://nodejs.org)
[](https://nodejs.org)
[](https://nodejs.org)
[](https://nodejs.org)
[downloads-image]: https://img.shields.io/npm/dm/catyears.svg
[npm-url]: https://www.npmjs.com/package/catyears
[npm-image]: https://img.shields.io/npm/v/catyears.svg
Use this module for calculating how old your cat is in cat years.
[](https://nodei.co/npm/catyears/)
## Example
```javascript
var CatYears = require('catyears');
// Put your cats actual age into the parameter.
console.log(CatYears(10));
> 57
```
Copyright 2016