
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: whatâs affected and how to update safely.
@maas/magic-timer
Advanced tools
Magic Timer is a simple event based timer that runs on the server as well as the browser.
# pnpm
pnpm install @maas/magic-timer
# npm
npm install @maas/magic-timer
# yarn
yarn add @maas/magic-timer
import { MagicTimer } from '@maas/magic-timer'
const timer = new MagicTimer(1000)
timer.on('tick', (time) => {
console.log(time)
})
timer.start()
If you see something that doesn't look right, submit a bug report.
See it. Say it. Sorted.
FAQs
Event based timer for Node.js and the browser
The npm package @maas/magic-timer receives a total of 164 weekly downloads. As such, @maas/magic-timer popularity was classified as not popular.
We found that @maas/magic-timer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
New DoS and source code exposure bugs in React Server Components and Next.js: whatâs affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.