Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jakeburden/hash-to-month


https://github.com/jakeburden/hash-to-month

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

## hash-to-month

[![build status](http://img.shields.io/travis/jekrb/hash-to-month.svg?style=flat)](http://travis-ci.org/jekrb/hash-to-month)

[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

Hash a value to a month

```
npm install hash-to-month
```

### Usage

``` js
var toMonth = require('hash-to-month')

console.log(toMonth('example, inc.')) // returns 0
```

### API

##### `var month = toMonth(value)`

Hash the given value to a month.

### License

MIT