#javascript

[ follow ]
#web-development
Node JS
fromCSS-Tricks
1 month ago

A Better API for the Intersection and Mutation Observers | CSS-Tricks

MutationObserver can be simplified for easier use with callback and event listener patterns.
fromCSO Online
1 week ago

Supply chain attack compromises npm packages to spread backdoor malware

In a newly discovered supply chain attack, attackers last week targeted a range of npm-hosted JavaScript type testing utilities, several of which were successfully compromised to distribute malware.
JavaScript
#deno
fromInfoQ
1 month ago
Node JS

Deno 2.3 Now Supports Local NPM Packages

Deno 2.3 enhances local NPM package support and deno compile for streamlined development.
fromInfoWorld
2 months ago
Node JS

What is Deno? A 'better' Node.js

Deno reimagines Node.js by integrating modern JavaScript features and the TypeScript compiler, but it's still under development and not for production.
Node JS
fromInfoWorld
2 months ago

What is Deno? A 'better' Node.js

Deno reimagines Node.js by integrating modern JavaScript features and the TypeScript compiler, but it's still under development and not for production.
#ecmascript
fromInfoQ
1 month ago
Node JS

TC39 Advances Nine JavaScript Proposals, Including Array.fromAsync, Error.isError, and using

fromInfoQ
1 month ago
Node JS

TC39 Advances Nine JavaScript Proposals, Including Array.fromAsync, Error.isError, and using

#npm
fromBleepingComputer
1 week ago

npm 'accidentally' removes Stylus package, breaks builds and pipelines

npm has taken down all versions of the real Stylus library and replaced them with a 'security holding' page, breaking pipelines and builds worldwide that rely on the package.
Web development
fromHackernoon
2 years ago

A Simple Way to Build a Progress Bar for Your Website's Image Uploader Using Filestack | HackerNoon

Building a custom progress bar from scratch requires boilerplate JavaScript using XMLHttpRequest and its upload.onprogress event.
Web development
#ecmascript-2025
fromSmashing Magazine
1 week ago

Handling JavaScript Event Listeners With Parameters - Smashing Magazine

JavaScript event listeners require proper management to prevent memory leaks.
fromThe Hacker News
1 week ago

3,500 Websites Hijacked to Secretly Mine Crypto Using Stealth JavaScript and WebSocket Tactics

"This was a stealth miner, designed to avoid detection by staying below the radar of both users and security tools," security researcher Himanshu Anand said.
Privacy professionals
fromRaymondcamden
2 weeks ago

Simple Charting with BoxLang

BoxLang does not include an embedded client-side charting library, but it assists in building charts by allowing integration with client-side libraries like Chart.js.
Web development
fromInfoWorld
2 weeks ago

ECMAScript 2025: The best new features in JavaScript

The latest JavaScript specification introduces a built-in global Iterator object, enhancing the functional programming capabilities of iterable collections with improved lazy evaluation and syntax.
JavaScript
#web-browsing
fromSubstack
2 weeks ago

Vite vs Webpack: A Guide to Choosing the Right Bundler

Vite offers faster development and simpler configuration compared to Webpack, which excels in customization and advanced production features.
#typescript
fromgithub.com
2 weeks ago
Web development

GitHub - JakeRoggenbuck/regolith: A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear RegEx under the hood. Regolith has a linear worst case time complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case.

fromgithub.com
2 weeks ago
Web development

GitHub - JakeRoggenbuck/regolith: A server-side TypeScript and JavaScript library immune to Regular Expression Denial of Service (ReDoS) attacks by using Rust and linear RegEx under the hood. Regolith has a linear worst case time complexity, compared to the default RegExp found in TypeScript and JavaScript, which has an exponential worst case.

#nodejs
fromAdropincalm
3 weeks ago
Web development

Create React UI component with uncontrollable

Uncontrollable simplifies state management in React UI libraries, reducing boilerplate code for handling props.
#ai
#browser-access
fromCodewithdan
4 weeks ago

AI Repo of the Week: Generative AI for Beginners with JavaScript

Generative AI for Beginners with JavaScript teaches developers to build AI-powered apps through interactive learning and hands-on coding.
#website-access
JavaScript
fromAllthingssmitty
1 month ago

Default parameters: your code just got smarter - Matt Smith

Default parameters in JavaScript simplify function definitions by allowing defaults directly in the signature, reducing errors related to falsy values.
JavaScript
fromJrsinclair
1 month ago

What's the difference between named functions and arrow functions in JavaScript?

Arrow functions simplify syntax but differ from traditional function declarations and expressions in their handling of 'this' and hoisting.
Node JS
fromHackernoon
4 months ago

Offline-First JavaScript for Space Missions: How JS Thrives in Low-Connectivity Environments | HackerNoon

JavaScript is increasingly being utilized in space missions as an offline-first language.
#browser-issues
fromInfoQ
1 month ago

JSON Modules Can Now Be Imported in JavaScript in All Modern Browsers, CSS Modules to Follow

JSON modules are now supported in all modern browsers, simplifying import in JavaScript code.
UX design
fromRubyflow
1 month ago

The Hotwire-Rails summit, or interactive multi-step forms at peak UX

Hotwire combined with Rails can deliver interactive user experiences without needing a complete shift to JavaScript frameworks.
#programming
fromMedium
4 years ago

10 Utility Functions for Working with Objects in JavaScript

Object.entries() returns an array of [key, value] pairs for all the owned properties of an object, enabling various array methods for manipulation.
Video games
fromHackernoon
10 months ago

New Biome Release Offers Faster Linting With TypeScript-Like Precision | HackerNoon

Biome v2 revolutionizes linting with type-aware rules, while JSON module support enhances structured data handling across browsers.
Typography
fromSmashing Magazine
1 month ago

Decoding The SVG path Element: Curve And Arc Commands - Smashing Magazine

Understanding how to draw curves and arcs using SVG path commands is essential for advanced coding skills in vector graphics.
This article builds on previous discussions about SVG, focusing specifically on curve and arc commands.
fromRaymondcamden
1 month ago

Links For You (6/22/25)

I've shared Josh Comeau links many times here and his ability to explain technical matter with incredibly simple and well-built demos is easily the best in the industry.
Web development
#promises
fromSitePoint Forums | Web Development & Design Community
1 month ago

Changing value inside text field based on body class>?

document.addEventListener('DOMContentLoaded', function() { const bodyClass = document.body.className; const searchInput = document.getElementById('PqmIc_title'); if (bodyClass.includes('competitions')) { searchInput.placeholder = 'Search competitions by title, keywords...'; } else if (bodyClass.includes('freebies')) { searchInput.placeholder = 'Search freebies by title, keywords...'; } });
JavaScript
fromInfoQ
1 month ago

Svelte Releases Attachments to Enhance DOM with Interactive and Reactive Features

Svelte Attachments enhance components with interactivity and reactivity, replacing Svelte Actions.
fromAllthingssmitty
1 month ago

Using await at the top level in ES modules - Matt Smith

Top-level await allows using await directly in ES modules, simplifying asynchronous code without extra nesting.
fromCSS-Tricks
1 month ago

A Better API for the Resize Observer | CSS-Tricks

The Resize Observer, Mutation Observer, and Intersection Observers APIs are significantly more performant than their predecessors, providing efficient ways to monitor changes in DOM elements.
Node JS
Marketing tech
fromThe Hacker News
1 month ago

Over 269,000 Websites Infected with JSFireTruck JavaScript Malware in One Month

A large-scale cybersecurity campaign is compromising legitimate websites through malicious JavaScript injections utilizing an obfuscation technique known as JSFireTruck.
fromHackernoon
7 years ago

Stop Drowning in Dev Tools-These 7 Are Worth Bookmarking | HackerNoon

The real test of a tool isn't its feature list, but whether it saves you time and solves a real, recurring problem without adding unnecessary complexity.
UX design
Node JS
fromHackernoon
1 month ago

Cursor 1.0 Takes AI-driven Coding to New Heights With BugBot | HackerNoon

Cursor 1.0 introduces powerful AI-driven tools that could challenge the dominance of VS Code in JavaScript development.
#css
fromGitHub
1 month ago

GitHub - lovell/sharp: High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.

Resizing an image is typically 4x-5x faster than using the quickest ImageMagick and GraphicsMagick settings due to its use of libvips.
Node JS
#html
#browser-settings
fromSpeckyboy Design Magazine
1 month ago

8 CSS & JavaScript Snippets for Creating Sticky Elements - Speckyboy

Sticky design elements enhance user experience by keeping important site features visible during scrolling, which is particularly beneficial for navigation and accessibility.
Web design
fromSubstack
1 month ago

JavaScript Weekly: Top Picks for June 6, 2025

OpenAI is upgrading ChatGPT Pro to a more powerful model with enhanced integration features.
fromSourcing Journal
1 month ago

Here's Why Shopping Agents Might Have a Difficult Time Pulling Brands' Products for Consumers

One of the first things we're doing [with clients] is saying, 'OK, let's look at your site with JavaScript turned off. That's what the AI is seeing.'
Artificial intelligence
Node JS
fromCSO Online
1 month ago

Google patches third zero-day flaw in Chrome this year

Chrome's V8 engine has a serious vulnerability that can be exploited via malicious web pages.
Google restricts bug details until most users can update to protect them.
fromZacks
1 month ago

Pardon Our Interruption

"Ensure that your browser is configured to allow cookies and JavaScript, as disabling either can trigger bot detection mechanisms on websites."
fromZacks
1 month ago
Web frameworks

Pardon Our Interruption

Enable cookies and JavaScript to improve website access and functionality.
fromAlex MacArthur
2 months ago

`document.currentScript` is more useful than I thought.

The awareness of an API has less to do with how long it's been around, and more to do with its applicability to the problems we're trying to solve.
JavaScript
fromallthingssmitty.com
2 months ago

Write more reliable JavaScript with optional chaining - Matt Smith

Optional chaining (?.) provides a cleaner and safer way to access nested properties, allowing code brevity and reduced error risk when dealing with dynamic objects.
jQuery
fromjQuery Script
2 months ago

Lazy Load Scripts To Speed Up Webpages - jQuery lazyloadscripts

Lazyloadscripts plugin increases website performance by loading scripts only when they are needed.
It is particularly useful for heavy libraries like Google Maps or Disqus Comments.
jQuery
fromjQuery Script
2 months ago

JavaScript Plugin For CSS3 Powered Flip Animations - justFlipIt

justFlipIt enables CSS3 and Web Animations API-based flip animations on DOM elements, supporting both Vanilla JS and jQuery.
fromEvanhahn
2 months ago

When Array uses less memory than Uint8Array (in V8)

Using Uint8Array saves memory for large arrays of byte-sized integers after about 150 elements.
[ Load more ]