https://github.com/datetime/week-hours
Get the number of hours in a week.
https://github.com/datetime/week-hours
Last synced: 6 months ago
JSON representation
Get the number of hours in a week.
- Host: GitHub
- URL: https://github.com/datetime/week-hours
- Owner: datetime
- License: mit
- Created: 2014-06-26T22:53:06.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T18:26:11.000Z (about 9 years ago)
- Last Synced: 2025-09-27T14:14:28.362Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: history.md
- License: license.md
Awesome Lists containing this project
README
## [![npm][npmjs-img]][npmjs-url] [![mit license][license-img]][license-url] [![build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url]
> Get the number of hours in a week.
## Install
```
npm i --save week-hours
npm test
```
## API
> For more use-cases see the [tests](./test.js)
### [weekHours](./index.js#L28)
> Get the number of hours in a week.
- `return` **{Number}**
**Example:**
```js
var weekHours = require('week-hours');
weekHours();
//=> 168
```
## Author
**Charlike Mike Reagent**
+ [gratipay/tunnckoCore][author-gratipay]
+ [twitter/tunnckoCore][author-twitter]
+ [github/tunnckoCore][author-github]
+ [npmjs/tunnckoCore][author-npmjs]
+ [more ...][contrib-more]
## License [![MIT license][license-img]][license-url]
Copyright (c) 2014-2015 [Charlike Mike Reagent][contrib-more], [contributors][contrib-graf].
Released under the [`MIT`][license-url] license.
[npmjs-url]: http://npm.im/week-hours
[npmjs-img]: https://img.shields.io/npm/v/week-hours.svg?style=flat&label=week-hours
[coveralls-url]: https://coveralls.io/r/datetime/week-hours?branch=master
[coveralls-img]: https://img.shields.io/coveralls/datetime/week-hours.svg?style=flat
[license-url]: https://github.com/datetime/week-hours/blob/master/license.md
[license-img]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
[travis-url]: https://travis-ci.org/datetime/week-hours
[travis-img]: https://img.shields.io/travis/datetime/week-hours.svg?style=flat
[daviddm-url]: https://david-dm.org/datetime/week-hours
[daviddm-img]: https://img.shields.io/david/datetime/week-hours.svg?style=flat
[author-gratipay]: https://gratipay.com/tunnckoCore
[author-twitter]: https://twitter.com/tunnckoCore
[author-github]: https://github.com/tunnckoCore
[author-npmjs]: https://npmjs.org/~tunnckocore
[contrib-more]: http://j.mp/1stW47C
[contrib-graf]: https://github.com/datetime/week-hours/graphs/contributors
***
_Powered and automated by [kdf](https://github.com/tunnckoCore), March 02, 2015_