# year [![NPM version](https://badge.fury.io/js/year.svg)](http://badge.fury.io/js/year)

> Simple utility to get the current year with 2 or 4 digits.

## Install with [npm](npmjs.org)

```bash
npm i year --save
```

## Usage

```js
var year = require('year');

console.log(year());
//=> 2014
console.log(year('yyyy'));
//=> 2014
console.log(year('yy'));
//=> 14
```

## Author

**Jon Schlinkert**
 
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) 

## License
Copyright (c) 2014 Jon Schlinkert  
Released under the MIT license

***

_This file was generated by [verb](https://github.com/assemble/verb) on December 01, 2014._