
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.
lddatetimepicker
Advanced tools
Vanilla Date/Time picker.
install via npm, along with required libraries:
npm install --save lddatetimepicker @loadingio/debounce.js dayjs
include required js / css:
<link rel="stylesheet" type="text/css" href="dist/index.min.css">
<script type="text/javascript" src="path-to/debounce.js"></script>
<script type="text/javascript" src="path-to-day.js"></script>
<script type="text/javascript" src="dist/index.min.js"></script>
initialize:
lddtp = new lddatetimepicker({host: "input"})
lddtp.value("2021/01/23"); // set value
lddtp.value(); // get value
Constructor options:
host: host element ( should be an input element, if provided )time: default true. hide and disable time picker if false.suppress: default false. suppress popup when clicking host if true.fixed: (deprecated) default false. true to enabled fixed mode.mode: either in-place, out-place or fixed.
fixed:
host and container are not provided.out-place: widget is inserted under body.in-place: widget is inserted after host.container: optional. if provided, lddatetimepicker are rendered barely in this container.
node: required. container element.toggle(v): required. function for toggling container on / off.isOn(): required. return true if a container is toggled on, otherwise false.position({x,y,ix,iy}): optional. use this function to correctly position container.
x: suggested x positiony: suggested y positionix: suggested x position if mode is in-place.iy: suggested y position if mode is in-place.out-place with container option set.
mode to fixed if the container is a fixed element (such as dialog)zmgr: optional. if provided, widget will be auto z-indexing based on this zmgr.isOn(): return true if lddatetimepicker dialog is on, otherwise return falsefire(n, ...args)on(n, cb)update()value()config(opt): update configuration. following options are supported:
suppress: see constructor option for this option.MIT
FAQs
vanilla date/time picker
We found that lddatetimepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.

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.