How to Install and Uninstall node-date-now Package on Kali Linux

Last updated: April 24,2024

1. Install "node-date-now" package

This is a short guide on how to install node-date-now on Kali Linux

$ sudo apt update $ sudo apt install node-date-now

2. Uninstall "node-date-now" package

This guide let you learn how to uninstall node-date-now on Kali Linux:

$ sudo apt remove node-date-now $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-date-now package on Kali Linux

Package: node-date-now
Version: 1.0.1-4
Installed-Size: 16
Maintainer: Debian Javascript Maintainers
Architecture: all
Size: 4324
SHA256: b31a02703a2ff4b6a3acd5a63c01ed2ff701656672b50caa24885b7ed34172a5
SHA1: ab948064a959cd21bacca495c8ea1fb11a7cf0bd
MD5sum: 54b0b1c6a8e36de885abd29e69590032
Description: requirable version of Date.now()
Use-case is to be able to mock out Date.now() using require interception.
For example
var now = require("date-now")
var ts = now()
var ts2 = Date.now()
assert.equal(ts, ts2)
Example of seed:
var now = require("date-now/seed")(timeStampFromServer)
// ts is in "sync" with the seed value from the server
// useful if your users have their local time being a few minutes
// out of your server time.
var ts = now()
.
Node.js is an event-based server-side JavaScript engine.
Description-md5:
Multi-Arch: foreign
Homepage: https://github.com/Raynos/date-now
Section: javascript
Priority: optional
Filename: pool/main/n/node-date-now/node-date-now_1.0.1-4_all.deb