🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

shift-days

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shift-days

Shift days skipping weekends and holidays.

1.0.1
latest
Source
npm
Version published
Weekly downloads
3
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Shift days

Description

Will shift an array of dates so the sequence will begin from another date, perserving the order and skipping weekends and holidays.

Installation

npm install shift-days

Usage

const shiftDays = require('shift-days');

shiftDays( dates : Array[ Date ], beginFrom : Date ) : Array

Support

Currently supported only Russian calendar.

FAQs

Package last updated on 06 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts