Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Add time to a date.
npm install add-time
const addTime = require("add-time");
addTime(date, {
seconds: 10,
minutes: 60
})
//=> 2020-08-17T00:28:11.523Z
addTime.now({
days: 12,
months: 8
});
//=> 2021-04-28T23:26:53.801Z
Add time to a date.
Add time to the current date.
Type: Date | number | string
The date to add to.
Type: object
Type: integer
Default: 0
The amount of milliseconds to add.
Type: integer
Default: 0
The amount of seconds to add.
Type: integer
Default: 0
The amount of minutes to add.
Type: integer
Default: 0
The amount of hours to add.
Type: integer
Default: 0
The amount of days to add.
Type: integer
Default: 0
The amount of weeks to add.
Type: integer
Default: 0
The amount of fortnights to add.
Type: integer
Default: 0
The amount of years to add.
Type: integer
Default: 0
The amount of decades to add.
Type: integer
Default: 0
The amount of centuries to add.
Type: integer
Default: 0
The amount of millennia to add.
FAQs
Add time to a date.
The npm package add-time receives a total of 0 weekly downloads. As such, add-time popularity was classified as not popular.
We found that add-time demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.