
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
my-timezone
Advanced tools
Get the exact time based on your location by calculating the time difference in seconds from UTC (good explanation on CS4FN).
ℹ️ This is a pure ESM module.
Add the module to your project with yarn add my-timezone or install it globally with yarn global add my-timezone.
import {MyTimezone} from 'my-timezone';
new MyTimezone()
.getTimeByAddress('Berlin, Germany')
.then(date => {
console.log(date.toString()); // Sun Sep 03 2017 14:29:49 GMT+0200
})
.catch(error => console.error(error));
// or
new MyTimezone()
.getTimeByLocation('13.394')
.then(date => {
console.log(date.toString()); // Sun Sep 03 2017 14:29:49 GMT+0200
})
.catch(error => console.error(error));
Usage: my-timezone [options] <location>
Get the exact time based on your location.
Use a city name or longitude value as location.
Options:
-V, --version output the version number
-o, --offline Work offline (default is false)
-s, --server Specify the NTP server (default is "pool.ntp.org")
-h, --help output usage information
FAQs
Get the exact time based on your location.
We found that my-timezone demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.