npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@donkeyclip/dc-countdown-plugin

v0.2.0

Published

Countdown plugin for Donkeyclip Motorcortex

Readme

dc-countdown-plugin

Purpose

Easily turn any element in your html to a countdown slot.

Logic

Each countdown consists of many fields. More specifically our plugin supports:

  • days
  • hours
  • minutes
  • seconds

This plugin allows you to initiate a countdown and pick the elements in your clip that will host each of the four supported fields.

Example

const secs_countdown = new CountdownPlugin.Countdown(
  {
    type: "minutes", // can be either 'days', 'seconds', 'minutes' or 'hours'
    operation: "free", // can be either 'free' or 'fixed'. Default 'fixed'
    forceDoubleDigit: true, // set it to true if you want to see double digits always (e.g. "01" instead of "1")
    animatedAttrs: {
      time: time, // set the target time. Is always in milliseconds and can either be a future uinx timestamp or just the duration of the countdown in milliseconds. Don't worry the plugin will automtically figure out what you meant
    },
  },
  {
    selector: `#your-selector`,
    duration: 1000,
  },
);

Parameters

| Parameter | Description | Type | Default | |----------------------|-------------|------|---------| | type | Define which of the three available fields will be illustrated via this incident | string one of days, seconds, minutes, hours |seconds| | operation | Define if the countdown will follow the clip's time or it'll operate freely and independently | string, one of fixed and free | fixed| | forceDoubleDigit | Make it true if you want to always have double digits in your fields. E.g. 01 instead of just 1 | boolean | false | | animatedAttrs.time | Defines the target time of the countdown either via a unix timestamp in milliseconds or via providing the duration of the countdown in milliseconds. You don't need to specify which of the two you want, the plugin will figure it out automatically |number, always in milliseconds | |