<commit_before># Week number [![NPM version][npmjs-img]][npmjs-url] [![Build Status][travis-img]][travis-url] [![Dependency Status][depstat-img]][depstat-url]

> Get current week number of the current year or given date string format.


## Install [![Nodei.co stats][npmjs-install]][npmjs-url] 

> Install with [npm](https://npmjs.org)

```bash
$ npm install current-week-number
```


# Usage
```js
var currentWeekNumber = require('current-week-number');

// june 27, 2014
currentWeekNumber()
//=> 26

currentWeekNumber("March 24, 2015")
//=> 13

currentWeekNumber("03/24/2016")
//=> 12, cuz' year is leap

currentWeekNumber("August 07, 2015")
//=> 32

currentWeekNumber("02/16/2015")
//=> 8
```


## Tests
> As usual `npm test` **or** if you have [mocha][mocha-url] globally `mocha`

```bash
$ npm test
```


## API

### currentWeekNumber([date])

#### date

Type: `string`  
Default: current date (day)  
Every valid Date-ish string


## Authors & Contributors [![author tips][author-gittip-img]][author-gittip]
**<NAME>**
+ [gittip/tunnckoCore][author-gittip]
+ [github/tunnckoCore][author-github]
+ [twitter/tunnckoCore][author-twitter]
+ [npmjs/tunnckoCore][author-npmjs]


## License [![MIT license][license-img]][license-url]
Copyright (c) 2014 [<NAME>][author-website], [contributors](https://github.com/tunnckoCore/current-week-number/graphs/contributors).  
Released under the [`MIT`][license-url] license.


[mocha-url]: https://github.com/visionmedia/mocha

[npmjs-url]: http://npm.im/current-week-number
[npmjs-img]: http://img.shields.io/npm/v/current-week-number.svg
[npmjs-install]: https://nodei.co/npm/current-week-number.png?mini=true

[license-url]: https://github.com/tunnckoCore/current-week-number/blob/master/license.md
[license-img]: http://img.shields.io/badge/license-MIT-blue.svg

[travis-url]: https://travis-ci.org/tunnckoCore/current-week-number
[travis-img]: https://travis-ci.org/tunnckoCore/current-week-number.svg?branch=master

[depstat-url]: https://david-dm.org/tunnckoCore/current-week-number
[depstat-img]: https://david-dm.org/tunnckoCore/current-week-number.svg

[author-gittip-img]: http://img.shields.io/gittip/tunnckoCore.svg
[author-gittip]: https://www.gittip.com/tunnckoCore
[author-github]: https://github.com/tunnckoCore
[author-twitter]: https://twitter.com/tunnckoCore

[author-website]: http://www.whistle-bg.tk
[author-npmjs]: https://npmjs.org/~tunnckocore
<commit_msg>readme tweaks<commit_after># Week number [![NPM version][npmjs-img]][npmjs-url] [![Build Status][travis-img]][travis-url] [![Dependency Status][depstat-img]][depstat-url]

> Get current week number of the current year or given date string format.


## Install [![Nodei.co stats][npmjs-install]][npmjs-url] 

> Install with [npm](https://npmjs.org)

```bash
$ npm install current-week-number
```


# Usage
```js
var currentWeekNumber = require('current-week-number');

// june 27, 2014
currentWeekNumber()
//=> 26

currentWeekNumber("March 24, 2015")
//=> 13

currentWeekNumber("03/24/2016")
//=> 12, cuz' year is leap

currentWeekNumber("August 07, 2015")
//=> 32

currentWeekNumber("02/16/2015")
//=> 8
```


## Tests
> As usual `npm test` **or** if you have [mocha][mocha-url] globally `mocha`

```bash
$ npm test
```


## API

### currentWeekNumber([date])

#### date

Type: `string`  
Default: current date (week)  

Every valid Date-ish string


## Authors & Contributors [![author tips][author-gittip-img]][author-gittip]
**<NAME>**
+ [gittip/tunnckoCore][author-gittip]
+ [github/tunnckoCore][author-github]
+ [twitter/tunnckoCore][author-twitter]
+ [npmjs/tunnckoCore][author-npmjs]


## License [![MIT license][license-img]][license-url]
Copyright (c) 2014 [<NAME>][author-website], [contributors](https://github.com/tunnckoCore/current-week-number/graphs/contributors).  
Released under the [`MIT`][license-url] license.


[mocha-url]: https://github.com/visionmedia/mocha

[npmjs-url]: http://npm.im/current-week-number
[npmjs-img]: http://img.shields.io/npm/v/current-week-number.svg
[npmjs-install]: https://nodei.co/npm/current-week-number.png?mini=true

[license-url]: https://github.com/tunnckoCore/current-week-number/blob/master/license.md
[license-img]: http://img.shields.io/badge/license-MIT-blue.svg

[travis-url]: https://travis-ci.org/tunnckoCore/current-week-number
[travis-img]: https://travis-ci.org/tunnckoCore/current-week-number.svg?branch=master

[depstat-url]: https://david-dm.org/tunnckoCore/current-week-number
[depstat-img]: https://david-dm.org/tunnckoCore/current-week-number.svg

[author-gittip-img]: http://img.shields.io/gittip/tunnckoCore.svg
[author-gittip]: https://www.gittip.com/tunnckoCore
[author-github]: https://github.com/tunnckoCore
[author-twitter]: https://twitter.com/tunnckoCore

[author-website]: http://www.whistle-bg.tk
[author-npmjs]: https://npmjs.org/~tunnckocore

{'fraction_non_alphanumeric': 0.19422680412371135, 'fraction_numerical': 0.019381443298969073, 'mean_word_length': 5.0865746549560855, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, 'https://': 26, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1133978', 'n_tokens_mistral': 1975, 'n_tokens_neox': 1740, 'n_words': 281}