Skip to content

nickolas1/deliver-next

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deliver-next

functions to keep a delivery date in the future

installation

npm install deliver-next
# or with yarn
yarn add deliver-next

usage

import { nextQuarter, nextYear } from 'deliver-next'

// pass in a date, or pass no argument for next time period from now
nextQuarter(new Date('12-10-2020'))
//'Q1'
nextYear(new Date('12-10-2020'))
//'2021'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published