1.0.5 β€’ Published 3 years ago

businessday-workingdays v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

πŸ’‡πŸ»β€β™‚οΈ About the project

This project contains functions that assist in the calculation of deadlines on working days

πŸš€ Technologies

Technologies that I used to develop this api

πŸ’» Getting started

Requirements

Install lib

$ yarn add businessday-workingdays

Available methods

getDeadline({
    date: new Date(),
    deadline: 5
})

// This method returns the added informed date of 5 business days
getdifferenceInBusinessDays({
    date: new Date(),
    deadline: 5
});

// This method returns the number of working days between the end date and the one informed

πŸ€” How to contribute

Make a fork of this repository

# Fork using GitHub official command line
# If you don't have the GitHub CLI, use the web site to do that.

$ gh repo fork dudubernardino/businessday

Follow the steps below

# Clone your fork
$ git clone your-fork-url && cd businessday

# Create a branch with your feature
$ git checkout -b my-feature

# Make the commit with your changes
$ git commit -m 'feat: My new feature'

# Send the code to your remote branch
$ git push origin my-feature

After your pull request is merged, you can delete your branch

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with πŸ’œ Β by Eduardo Bernardino πŸ‘‹ Β See my linkedin