
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
@ilihub/minute
Advanced tools
TypeScript functions for converting minute to other time units.
# if you're using pnpm
pnpm add @ilihub/minute
# or, if you're using npm
npm install @ilihub/minute
# or, if you're using yarn
yarn add @ilihub/minute
import { Minute } from "@ilihub/minute";
const minute = new Minute(1);
const milliseconds = minute.toMillisecond();
console.log(milliseconds); // 60000
const seconds = minute.toSecond();
console.log(seconds); // 60
const hours = minute.toHour();
console.log(hours); // 0.016666666666666666
const days = minute.toDay();
console.log(days); // 0.0006944444444444445
const weeks = minute.toWeek();
console.log(weeks); // 0.0000992063492063492
const months = minute.toMonth();
console.log(months); // 0.000023148148148148147
const years = minute.toYear();
console.log(years); // 0.000001902587519025875
const decades = minute.toDecade();
console.log(decades); // 1.9025875190258752e-7
const centuries = minute.toCentury();
console.log(centuries); // 1.902587519025875e-8
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.
FAQs
TypeScript functions for converting minute to other time units.
We found that @ilihub/minute 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.

Research
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.