UNPKG

342 BMarkdownView Raw
1# month
2
3```js
4// usage
5chance.month()
6```
7
8Generate a random month.
9
10```js
11chance.month();
12=> 'January'
13```
14
15By default, returns just the full name.
16
17Optionally specify raw to get the whole month object consisting of name,
18short_name, and numeric.
19
20```js
21chance.month({raw: true});
22=> {name: 'October', short_name: 'Oct', numeric: '10'}
23```