
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
@10up/countdown-timer
Advanced tools
A countdown timer component that displays the amount of time remaining until (or elapsed since) the time specified in the component's
datetime
attribute.
npm install --save @10up/countdown-timer
View official documentation for this package
This is the markup template expected by the component. To count down to midnight on New Year's Day in the year 2046 in your local time zone:
<time class="countdown-timer" datetime="2046-01-01T00:00:00">
<!-- Some fallback content, perhaps the date string itself or a message to users or machines that can't view this component with JS. -->
</time>
Create a new instance by supplying the selector to use for the component and an object containing any necessary callback functions.
import CountdownTimer from '@10up/countdown-timer';
new CountdownTimer( '.countdown-timer', {
// Settings and callback properties go here.
} );
Example implementations at: https://baseline.10up.com/component/countdown-timer/
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.
FAQs
A countdown timer component.
The npm package @10up/countdown-timer receives a total of 5 weekly downloads. As such, @10up/countdown-timer popularity was classified as not popular.
We found that @10up/countdown-timer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.