
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
DK time - library for working with time
Exec command
$ npm install --save dk-time
OOP - not used in api
An object pointer is a data buffer
Please do not process this indicator, as the data may change at any time.
| Variable | Type | Desc |
|---|---|---|
| id | Any_id | Id library |
| is | Any_is | System library |
| sec | Num_32 | Time unix seconds |
| ms | Num_24u | Time milliseconds (3) |
| key | Num_ty | Id setTimeOut |
| repeat | Num_ty | Quantity repeat (> 0 - quantity < 0 - time in sec) |
Float seconds.milliseconds (4.2)
| Name | Type | Value | Desc |
|---|---|---|---|
| TIME_NAME | Str_std | dk-time | Name library |
| TIME_KEY | Str_std | time | Key library |
| TIME_ID | Any_id | 12 | Id library |
| TIME_VER | Str_std | 1.0.0-pa.24 | Version library |
| TIME_STD_KEY | Str_std | date | Name JS object |
| Name | Type | Value | Desc |
|---|---|---|---|
| TIME_FV | Num_u8 | Format millisecond | |
| TIME_FS | Num_u8 | Format second | |
| TIME_FI | Num_u8 | Format minute | |
| TIME_FH | Num_u8 | Format hour | |
| TIME_FD | Num_u8 | Format day | |
| TIME_FW | Num_u8 | Format week | |
| TIME_FM | Num_u8 | Format month | |
| TIME_FY | Num_u8 | Format year |
Get system time (unix)
Make empty (null) new pointer
Make new time
if sec are empty gets the current date
Parse string date and make new Time_s
if sec are empty gets the current date
Get string for date
Convert time by format
get duration time
get passed time
make setTimeout
make setInterval
Stopping sleep ()setTimeout / setInterval)
Difference old time and current
Set seconds and milliseconds
Offset time forward or backward
clear all data
FAQs
DK time - library for working with time
We found that dk-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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.