Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
customizable-analog-clock
Advanced tools
Total CSS and JS Analog Clock with Maximum Customization. Including Emojis for Clock Indicators
Total CSS and JS Analog Clock with Maximum Customization with Neumorphic Designed Watchface. Including Emojis for Clock Indicators.
const config = {
htmlElement: '', //required
showDate : false,
showDigitalClock : false,
showIndicators : false,
clockIndicators : [],
styleOptions : {
fontSize: '30px',
fontFamily: '-apple-system, BlinkMacSystemFont, sans-serif',
clockBackgroundColor: '#091921',
clockBackgroundImage: '',
clockBorderColor: '#132833',
clockCenterBorderColor: '#fa9f22',
clockCenterBackgroundColor: '#091921',
clockSecondHandColor: '#fa9f22',
clockMinuteHandColor: '#ffffff',
clockHourHandColor: '#ffffff',
clockIndicatorColor: '#607d8b',
clockIndicatorIconColor: '#03a9f4',
clockIndicatorMainColor: '#03a9f4',
dateColor: '#c9c9c9',
dateBackgroundColor: '#13222a',
digitalClockColor: '#c9c9c9',
digitalClockBackrground: '#13222a'
}
}
Analog Clock is appended to the element so first please define empty DIV with fixed Height and Width
npm i --save customizable-analog-clock
<div id="my-clock" style="width: 200px; height: 200px;"></div>
import { AnalogClock } from 'customizable-analog-clock'
const clock = new AnalogClock({
htmlElement : 'my-clock',
showDate: true,
showDigitalClock: true,
showIndicators: true,
clockIndicators : ['😄', '🙂', '🥪' , '🦜', '🐊', '💻', '🐅', '🐼', '🐘', '🚴♂️', '🏂', '🧑']
styleOptions : {
fontSize: '35px',
fontFamily: 'Roboto'
}
});
<div id="my-clock" style="width: 200px; height: 200px;"></div>
<script>var exports = {};</script>
<script src="path/to/analog-clock.min.js"></script>
const clock = new AnalogClock({
htmlElement : 'my-clock',
showDate: true,
showDigitalClock: true,
showIndicators: true,
clockIndicators : ['😄', '🙂', '🥪' , '🦜', '🐊', '💻', '🐅', '🐼', '🐘', '🚴♂️', '🏂', '🧑']
styleOptions : {
fontSize: '35px',
fontFamily: 'Roboto'
}
});
FAQs
Total CSS and JS Analog Clock with Maximum Customization. Including Emojis for Clock Indicators
The npm package customizable-analog-clock receives a total of 57 weekly downloads. As such, customizable-analog-clock popularity was classified as not popular.
We found that customizable-analog-clock 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.