current-week

1.0.11 • Public • Published

Current week NPM version NPM monthly downloads NPM total downloads

Get the current week number.

Install

Install with npm:

$ npm install --save current-week

Usage

const currentWeek = require('current-week');
 
currentWeek.getWeekNumber();    // Example: '47'
currentWeek.getFirstWeekDay();  // Example: '19.10.'
currentWeek.getLastWeekDay();   // Example: '25.10.'

About

Author

Niels Lange

License

Copyright © 2018, Niels Lange. Released under the MIT license.

/current-week/

    Package Sidebar

    Install

    npm i current-week

    Weekly Downloads

    1

    Version

    1.0.11

    License

    ISC

    Unpacked Size

    3.26 kB

    Total Files

    5

    Last publish

    Collaborators

    • nielslange