
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@types/d3-time
Advanced tools
npm install --save @types/d3-time
This package contains type definitions for d3-time (https://github.com/d3/d3-time/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-time/v1.
These definitions were written by Tom Wanzek, Alex Ford, Boris Yankov, denisname, and Nathan Bierema.
Moment.js is a comprehensive date handling library for JavaScript. It offers a wide range of functionalities for parsing, validating, manipulating, and formatting dates. Compared to @types/d3-time, Moment.js provides more general-purpose date manipulation capabilities but lacks the specific focus on visualization and time intervals that d3-time offers.
date-fns is a modern JavaScript date utility library that provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js. Unlike @types/d3-time, which is tailored for D3.js visualizations, date-fns offers a broader set of utilities for date manipulation without a specific focus on visualization.
Luxon is a powerful, modern, and friendly wrapper for JavaScript dates and times. It's designed to replace older libraries like Moment.js with a focus on internationalization and support for time zones. While Luxon offers robust time manipulation and formatting capabilities, it does not specifically cater to the needs of data visualization like @types/d3-time does.
FAQs
TypeScript definitions for d3-time
The npm package @types/d3-time receives a total of 8,630,220 weekly downloads. As such, @types/d3-time popularity was classified as popular.
We found that @types/d3-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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.