Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeburden/hash-to-month
https://github.com/jakeburden/hash-to-month
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/jakeburden/hash-to-month
- Owner: jakeburden
- Created: 2015-12-13T04:15:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-13T05:01:22.000Z (about 9 years ago)
- Last Synced: 2024-12-15T13:16:29.796Z (26 days ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
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