1.0.14 • Published 5 years ago

find-certain-days v1.0.14

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

find-certain-days

Build Status NPM total downloads

This plugin returns all the rest certain days for the given specific weekday in a whole year.

Install

Install with npm:

npm install --save find-certain-days

Usage

// Returns all the rest certain days for the given specific weekday in the whole year.

var certainDays = require('find-certain-days');
console.log(certainDays('Friday')); // today is 2019-01-16. This week friday is on 2019-01-18
// => ['2019-01-18',
    // '2019-01-25',            
    // '2019-02-01',
    // '2019-02-08',
    // '2019-02-15',
    // '2019-02-22',
    // '2019-03-01',
    //  ....,
    //  '2019-12-27']

Test

npm run test
1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago