
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
x-react-flipclock
Advanced tools
Simple NPM package for React to display Flip Clock.
Examples are at https://xims.github.io/x-react-flipclock
Source repository at https://github.com/xims/x-react-flipclock
NPM package page at https://www.npmjs.com/package/x-react-flipclock
npm install x-react-flipclock
Initiate:
import FlipClock from 'x-react-flipclock'
There are 2 types of display - Clock and Countdown
To use as a clock -
<FlipClock
type="clock"
/>
To use as a countdown -
<FlipClock
type = "countdown"
count_to = "2019-01-01 00:00:00"
/>
Specify and configure units to display -
<FlipClock
type = "clock"
units = {[
{
sep: '',
type: 'days',
title: 'day',
},
{
sep: '/',
type: 'months',
title: 'month',
},
{
sep: '/',
type: 'years',
title: 'year',
},
{
sep: ' ',
type: 'hours',
title: 'hour',
},
{
sep: ':',
type: 'minutes',
title: 'minute',
},
{
sep: ':',
type: 'seconds',
title: 'second',
}
]}
/>
This package functionality is very basic and may be extended in the future.
Would be great to develop the package to adapt unit sizes to container area.
Also would be great to have styles options.
Contributions are welcome!
Initial code based on https://codepen.io/Libor_G/pen/JyJzjb
Copyright (c) 2018 Maxim Shklyar, kisla interactive
Licensed under the MIT License.
FAQs
Simple NPM package for React to display Flip Clock
We found that x-react-flipclock 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.