UNPKG

iso-week

Version:
58 lines (37 loc) 1.74 kB
# iso-week [![NPM version](https://badge.fury.io/js/iso-week.svg)](http://badge.fury.io/js/iso-week) > Get the ISO week of the year. ## Install with [npm](npmjs.org) ```bash npm i iso-week --save ``` ## Run tests ```bash npm test ``` ## Usage ```js var isoWeek = require('iso-week'); isoWeek(); //=> '50' ``` ## Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/iso-week/issues) ## Related * [days](https://github.com/jonschlinkert/days): Days of the week. * [month](https://github.com/jonschlinkert/month): Get the name or number of the current month or any month of the year. * [months](https://github.com/jonschlinkert/months): Months of the year. * [o-clock](https://github.com/jonschlinkert/o-clock): Simple utility for displaying the time in 12-hour clock format. * [seconds](https://github.com/jonschlinkert/seconds): Get the number of seconds for a minute, hour, day and week. * [weekday](https://github.com/jonschlinkert/weekday): Get the name and number of the current weekday. Or get the name of the… [more](https://github.com/jonschlinkert/weekday) * [week](https://github.com/jonschlinkert/week): Get the current week number. * [year](https://github.com/jonschlinkert/year): Simple utility to get the current year with 2 or 4 digits. ## Author **Jon Schlinkert** + [github/jonschlinkert](https://github.com/jonschlinkert) + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) ## License Copyright (c) 2015 Jon Schlinkert Released under the MIT license. *** _This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 01, 2015._ <!-- reflinks generated by verb-reflinks plugin -->