
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Super light weight event driven containers.
Built a wonderful application in HTML/CSS/JS . Client came around with a new design . Suspecting that this won't be the last I created a way to not need to touch the JS when HTML / CSS change. I create Do On. Needed to relink the JS with the new HTML . As expected Client did it again ( It's okay, its by the hour ). This time all I really needed to change was the HTML and CSS and the JS still worked .
HTML:
<div data-do="trigger" data-on="click|mouseover|mouseout"></div>
JavaScript:
$(window).on('trigger-init', function(e, target) {
$(target).html('Click Me');
}).on('trigger-click', function(e, target) {
$(target).css('color', 'red');
}).on('trigger-mouseout', function(e, target) {
$(target).css('color', 'blue');
$(target).css('font-size', '12px');
}).on('trigger-mouseover', function(e, target) {
$(target).css('font-size', '20px');
});
$('div').doon();
FAQs
super light weight event driven containers
The npm package doon receives a total of 0 weekly downloads. As such, doon popularity was classified as not popular.
We found that doon 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 Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
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.