
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
blink-element
Advanced tools
A small module to make a DOM element blink using JS.
Install with cdn
<link rel="stylesheet" href="https://unpkg.com/blink-element/lib/blink.js">
<!-- Or -->
<link rel="stylesheet" href="https://cdn.rawgit.com/tiaanduplessis/blink-element/master/lib/blink.js">
Install with npm
$ npm install --save blink-element
Install with yarn
$ yarn add blink-element
Add the blink.js
or blink.min.js
script to your project. You can then use it by calling the blink
function.
// var blink = require('blink-element') || import blink from 'blink-element'
var elem = document.querySelector('.element-in-need-of-blink')
blink({
element: elem, // Element to add blinking effect
speed: 0.01 // Speed at which the opacity will change for fade in/out
})
The blink
function takes a single object as its argument with element
and speed
as its properties.
See usage for an example of how to call the function.
Contributions are welcome. Please open up an issue or create PR if you would like to help out.
Note: If editing the README, please conform to the standard-readme specification.
Licensed under the MIT License.
FAQs
For those times you wanna make a element blink using JS
The npm package blink-element receives a total of 1 weekly downloads. As such, blink-element popularity was classified as not popular.
We found that blink-element 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.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.