#nodejs

[ follow ]
#automation

Using curl-impersonate in Node.js to avoid blocks - LogRocket Blog

curl-impersonate helps automate web interactions by mimicking legitimate browser requests, bypassing common anti-bot protections.

Super Useful NPM Module - Open

A simple npm module called 'open' by Sindre Sorhus can open resources on the computer with associated apps, streamlining workflows.

Using curl-impersonate in Node.js to avoid blocks - LogRocket Blog

curl-impersonate helps automate web interactions by mimicking legitimate browser requests, bypassing common anti-bot protections.

Super Useful NPM Module - Open

A simple npm module called 'open' by Sindre Sorhus can open resources on the computer with associated apps, streamlining workflows.
moreautomation
#performance-optimization

Node.js performance hooks and measurement APIs - LogRocket Blog

Utilize Node.js performance hooks for precise measurement and enhancement of application execution speed.

Solving Memory Leaks in Node.js has Never Been Easier, Introducing the Latest Version of N|Solid

N|Solid's new heap sampling feature simplifies memory leak tracking for Node.js applications, enhancing performance and resource management.

How Does Server Side Rendering Work | HackerNoon

Server Side Rendering (SSR) generates initial HTML on the server, enhancing performance and SEO compared to Client Side Rendering (CSR).

Introducing N|Solid 6: The Ultimate Tool for Node.js Observability and Diagnostics

N|Solid 6 enhances monitoring capabilities for Node.js applications with improved insights, usability, and innovative features like the upgraded user interface and global filter bar.

Introducing N|Solid 6: The Ultimate Tool for Node.js Observability and Diagnostics

N|Solid 6 enhances production Node.js applications with improved insights, a new user interface, and powerful features for monitoring and diagnosing issues.

Should Node.js be built with ClangCL under Windows?

ClangCL compiler can provide more performant code in release mode compared to the Visual Studio compiler, as seen in Chrome, Firefox, and some game developers.

Node.js performance hooks and measurement APIs - LogRocket Blog

Utilize Node.js performance hooks for precise measurement and enhancement of application execution speed.

Solving Memory Leaks in Node.js has Never Been Easier, Introducing the Latest Version of N|Solid

N|Solid's new heap sampling feature simplifies memory leak tracking for Node.js applications, enhancing performance and resource management.

How Does Server Side Rendering Work | HackerNoon

Server Side Rendering (SSR) generates initial HTML on the server, enhancing performance and SEO compared to Client Side Rendering (CSR).

Introducing N|Solid 6: The Ultimate Tool for Node.js Observability and Diagnostics

N|Solid 6 enhances monitoring capabilities for Node.js applications with improved insights, usability, and innovative features like the upgraded user interface and global filter bar.

Introducing N|Solid 6: The Ultimate Tool for Node.js Observability and Diagnostics

N|Solid 6 enhances production Node.js applications with improved insights, a new user interface, and powerful features for monitoring and diagnosing issues.

Should Node.js be built with ClangCL under Windows?

ClangCL compiler can provide more performant code in release mode compared to the Visual Studio compiler, as seen in Chrome, Firefox, and some game developers.
moreperformance-optimization
#software-development

Claude AI runs JavaScript, Python beats JavaScript on GitHub, & Node.js updates - This Week in JS | HackerNoon

Python has overtaken JavaScript on GitHub as the most popular programming language after a decade.
Claude AI can now write and execute JavaScript, expanding its potential in real-time data processing.

Deno 2.0 looks toward backward compatibility to move forward

Deno 2.0 enhances Node.js compatibility while introducing improvements for JavaScript and TypeScript development, solidifying its role as a modern runtime environment.

Node.js v22 Enters Long Term Support (LTS)

Node.js v22 has transitioned to Long Term Support, ensuring stability and security for production environments.

Node.js 2023 Year in Review

Node.js continues to evolve significantly, highlighting its ongoing development and community engagement.
A record of 2641 commits was made in 2023, illustrating consistent contributions over the years.

Node.js v22 Enters Long Term Support (LTS)

Node.js v22 transition to LTS enhances stability and ensures critical updates for production environments.

Zero trust: How the 'Jia Tan' hack complicated open-source software

Open-source software maintainers need community support and compensation to ensure the sustainability of vital projects.

Claude AI runs JavaScript, Python beats JavaScript on GitHub, & Node.js updates - This Week in JS | HackerNoon

Python has overtaken JavaScript on GitHub as the most popular programming language after a decade.
Claude AI can now write and execute JavaScript, expanding its potential in real-time data processing.

Deno 2.0 looks toward backward compatibility to move forward

Deno 2.0 enhances Node.js compatibility while introducing improvements for JavaScript and TypeScript development, solidifying its role as a modern runtime environment.

Node.js v22 Enters Long Term Support (LTS)

Node.js v22 has transitioned to Long Term Support, ensuring stability and security for production environments.

Node.js 2023 Year in Review

Node.js continues to evolve significantly, highlighting its ongoing development and community engagement.
A record of 2641 commits was made in 2023, illustrating consistent contributions over the years.

Node.js v22 Enters Long Term Support (LTS)

Node.js v22 transition to LTS enhances stability and ensures critical updates for production environments.

Zero trust: How the 'Jia Tan' hack complicated open-source software

Open-source software maintainers need community support and compensation to ensure the sustainability of vital projects.
moresoftware-development
#javascript

Comparing ECMAScript Modules and CommonJS

JavaScript has evolved from a simple language for dynamic websites to complex projects requiring code organization in modules.
Comparison of popular methods for splitting JavaScript code into modules: ECMAScript Modules (ESM) and CommonJS.

Simplifying Development with Deno - JSJ 625 - JavaScript Jabber

Deno explores evolution, challenges in compatibility with NPM, TypeScript support, and use in edge computing.
Insights on Deno's standard library, TypeScript implementation, and plans for improving compatibility with popular meta frameworks.

JavaScript JS0/JSSugar Proposals, Node.js 23, Next.js 15 RC2 and More - This Week in JS | HackerNoon

Google proposes splitting JavaScript into JS0 and JSSugar to improve performance and security, sparking debate over potential complexity.

10 JavaScript concepts every Node developer must master

Node.js' popularity stems from JavaScript's flexibility, but developers must remain vigilant to avoid pitfalls in coding.

Enhancing Node.js Core: Introducing Support for Synchronous ESM Graphs

Node.js now supports synchronous loading of ECMAScript Modules, easing the transition for developers and package authors.

WebSockets under the hood with Node.js

WebSockets allow seamless two-way communication between client and server, essential for real-time applications.

Comparing ECMAScript Modules and CommonJS

JavaScript has evolved from a simple language for dynamic websites to complex projects requiring code organization in modules.
Comparison of popular methods for splitting JavaScript code into modules: ECMAScript Modules (ESM) and CommonJS.

Simplifying Development with Deno - JSJ 625 - JavaScript Jabber

Deno explores evolution, challenges in compatibility with NPM, TypeScript support, and use in edge computing.
Insights on Deno's standard library, TypeScript implementation, and plans for improving compatibility with popular meta frameworks.

JavaScript JS0/JSSugar Proposals, Node.js 23, Next.js 15 RC2 and More - This Week in JS | HackerNoon

Google proposes splitting JavaScript into JS0 and JSSugar to improve performance and security, sparking debate over potential complexity.

10 JavaScript concepts every Node developer must master

Node.js' popularity stems from JavaScript's flexibility, but developers must remain vigilant to avoid pitfalls in coding.

Enhancing Node.js Core: Introducing Support for Synchronous ESM Graphs

Node.js now supports synchronous loading of ECMAScript Modules, easing the transition for developers and package authors.

WebSockets under the hood with Node.js

WebSockets allow seamless two-way communication between client and server, essential for real-time applications.
morejavascript

OpenTelemetry in N|Solid

N|Solid Runtime provides essential real-time insights for Node.js applications, enhancing observability and performance management.
#fastify

Fastify adoption guide: Overview, examples, and alternatives - LogRocket Blog

Fastify is a high-performance Node.js framework known for its efficiency, speed, modular architecture, and excellent support for frontend frameworks like React, Vue, and Angular.

N|Solid: Node.js Compatibility Proven through Fastify CI Integration

NodeSource aims to prove N|Solid's compatibility with Node.js ecosystems through practical integration and performance enhancement.

Fastify adoption guide: Overview, examples, and alternatives - LogRocket Blog

Fastify is a high-performance Node.js framework known for its efficiency, speed, modular architecture, and excellent support for frontend frameworks like React, Vue, and Angular.

N|Solid: Node.js Compatibility Proven through Fastify CI Integration

NodeSource aims to prove N|Solid's compatibility with Node.js ecosystems through practical integration and performance enhancement.
morefastify

Structuring Node.js Applications: Event Loop, Metrics, and Efficient Processing Techniques - JavaScript Jabber

Enforcing non-blocking practices in Node.js is critical for optimal performance and efficiency.

Building a Global Production Ready Marketplace With Medusa JS | HackerNoon

Building a scalable niche marketplace requires careful balance between customization, performance, and user experience.
A Minimum Viable Product should incorporate essential features that facilitate smooth transactions and interactions.
#pnpm

Wow, pnpm, You're Really Fast: How to Use It on Heroku | HackerNoon

pnpm is a package manager that reduces disk usage and build times by utilizing a global store and hard links instead of multiple copies.

Why You Don't Need PNPM And YARN | HackerNoon

Node.js developers often debate between npm, yarn, and pnpm for package management, with npm being the default choice due to its seamless integration and stability.

Wow, pnpm, You're Really Fast: How to Use It on Heroku | HackerNoon

pnpm is a package manager that reduces disk usage and build times by utilizing a global store and hard links instead of multiple copies.

Why You Don't Need PNPM And YARN | HackerNoon

Node.js developers often debate between npm, yarn, and pnpm for package management, with npm being the default choice due to its seamless integration and stability.
morepnpm

Exclusive event - The Best of Velocity: Bryan Cantrill answers your questions live. - O'Reilly Media Free, Live Events

Bryan Cantrill shares key insights from the development of DTrace for Node.js system visualization, focusing on challenges and innovative solutions.
#monitoring

Monitoring PM2 in production

PM2 enhances monitoring of Node.js applications by providing crucial process-level metrics for better management in production environments.

Logging Made Easy: A Beginner's Guide to Winston in Node.js - SitePoint

Logging is crucial for debugging, monitoring, and auditing in application development.
Fundamental logging practices include appropriate log levels, consistency in formats, structured data logging, minimizing overhead, and securing sensitive information.

Monitoring PM2 in production

PM2 enhances monitoring of Node.js applications by providing crucial process-level metrics for better management in production environments.

Logging Made Easy: A Beginner's Guide to Winston in Node.js - SitePoint

Logging is crucial for debugging, monitoring, and auditing in application development.
Fundamental logging practices include appropriate log levels, consistency in formats, structured data logging, minimizing overhead, and securing sensitive information.
moremonitoring
#performance

Building Node.js modules in Rust with NAPI-RS - LogRocket Blog

NAPI-RS allows building high-performance Node.js modules using Rust, catering to tasks like image processing.

Node JS vs PHP: Which Backend to Choose for Your Project

Node.js is known for its performance and scalability due to its event-driven, non-blocking architecture.
PHP is popular for its simplicity, ease of use, and extensive community support.

Building Node.js modules in Rust with NAPI-RS - LogRocket Blog

NAPI-RS allows building high-performance Node.js modules using Rust, catering to tasks like image processing.

Node JS vs PHP: Which Backend to Choose for Your Project

Node.js is known for its performance and scalability due to its event-driven, non-blocking architecture.
PHP is popular for its simplicity, ease of use, and extensive community support.
moreperformance
#web-development

SVR.JS - a web server running on Node.JS

SVR.JS allows running server-side JavaScript on webpages
SVR.JS features an integrated log viewer, log highlighter, and user management tool
SVR.JS can run on Node.JS and Bun (experimental support)

How to Build a Simple Web Server with Node.js - SitePoint

Implementing a simple web server with Node.js.
Building dynamic web applications.
Exploring Node.js features.

How to Test Your Node.js API Using Insomnia

This Node.js API allows for basic CRUD operations on user data using Express.

Server Sent Events 101: A Guide | HackerNoon

SSE provides a one-way connection from server to client using HTTP for real-time data transmission.

Laravel vs Node.js: Making the Right Choice

The choice between Laravel and Node.js depends on project requirements, team expertise, and desired scalability.

Creating Blogging Sites with Astro

Astro is an effective static site generator for building blogs due to its flexibility and TypeScript support.

SVR.JS - a web server running on Node.JS

SVR.JS allows running server-side JavaScript on webpages
SVR.JS features an integrated log viewer, log highlighter, and user management tool
SVR.JS can run on Node.JS and Bun (experimental support)

How to Build a Simple Web Server with Node.js - SitePoint

Implementing a simple web server with Node.js.
Building dynamic web applications.
Exploring Node.js features.

How to Test Your Node.js API Using Insomnia

This Node.js API allows for basic CRUD operations on user data using Express.

Server Sent Events 101: A Guide | HackerNoon

SSE provides a one-way connection from server to client using HTTP for real-time data transmission.

Laravel vs Node.js: Making the Right Choice

The choice between Laravel and Node.js depends on project requirements, team expertise, and desired scalability.

Creating Blogging Sites with Astro

Astro is an effective static site generator for building blogs due to its flexibility and TypeScript support.
moreweb-development
#development-tools

GitHub - epicweb-dev/react-server-components: Understand React Server Components and Server Actions by building a framework with them.

Deep experience with React and Suspense is required.
Basic understanding of Node.js is recommended for this workshop.

GitHub - Julien-R44/hot-hook: Simple HMR for NodeJS + ESM

Hot Hook simplifies hot module replacement in NodeJS, enhancing development speed by reloading only changed modules instead of restarting the entire server.

GitHub - epicweb-dev/react-server-components: Understand React Server Components and Server Actions by building a framework with them.

Deep experience with React and Suspense is required.
Basic understanding of Node.js is recommended for this workshop.

GitHub - Julien-R44/hot-hook: Simple HMR for NodeJS + ESM

Hot Hook simplifies hot module replacement in NodeJS, enhancing development speed by reloading only changed modules instead of restarting the entire server.
moredevelopment-tools

Encoding not recognized: 'cesu8', Jest testing

Jest tests with Sequelize may fail due to unrecognized CEU8 encoding in MySQL connections.

How to Build a Microservices Architecture with Node.js and RabbitMQ | HackerNoon

Microservices architecture enhances scalability and resilience by breaking applications into independent, autonomous services.

Hono - A Cutting-Edge Backend Framework for Cloud-Native Applications | HackerNoon

Hono, a lightweight backend framework, is ideal for building high-performance cloud-native applications quickly.
The framework ensures minimal overhead and offers excellence in performance and scalability.

GitHub - sindresorhus/nano-spawn: Tiny process execution for humans - a better child_process

A lightweight process execution tool for Node.js with essential features and promise-based handling.
No dependencies and a small package size enhance usability.
#mongodb

Efficient File Uploads in Node.js: Using Express, MongoDB, and GridFS for Scalable Storage | HackerNoon

Efficient file uploads can be achieved with Node.js, Express.js, and MongoDB, focusing on scalability, security, performance, and effective storage management.

How to create your own proprietary software

Creating custom software is accessible with tools like the MERN stack (MongoDB, Express, React, Node.js).

Efficient File Uploads in Node.js: Using Express, MongoDB, and GridFS for Scalable Storage | HackerNoon

Efficient file uploads can be achieved with Node.js, Express.js, and MongoDB, focusing on scalability, security, performance, and effective storage management.

How to create your own proprietary software

Creating custom software is accessible with tools like the MERN stack (MongoDB, Express, React, Node.js).
moremongodb
#security

Secure Node.js Applications from Supply Chain Attacks

Node.js applications are particularly vulnerable to supply chain attacks; attention to security best practices is essential.

Building a LeetCode-style code evaluator with isolated-vm - LogRocket Blog

Running untrusted code in Node.js poses significant risks due to network and file system access. Mitigation can involve running scripts in a virtual isolated environment for safety.

Secure Node.js Applications from Supply Chain Attacks

Node.js applications are particularly vulnerable to supply chain attacks; attention to security best practices is essential.

Building a LeetCode-style code evaluator with isolated-vm - LogRocket Blog

Running untrusted code in Node.js poses significant risks due to network and file system access. Mitigation can involve running scripts in a virtual isolated environment for safety.
moresecurity

Join our Partner Program!

The NodeSource Approved Partner Program offers unique benefits to agencies building Node.js solutions, aiming to enhance sales and technical capabilities.

Optimizing Node.js Code Coverage With NYC in Docker Containers | HackerNoon

Running Node.js in Docker requires careful attention to signal handling and coverage reporting.
#programming-languages

Node.js unveils experimental TypeScript support

Node.js v22.6.0 released with experimental TypeScript support.

NodeJS VS Python: Which Technology Is The Best Option For AI Development? - Springs

Python and NodeJS are popular for AI/ML; Python has a strong community for support and newer features, while NodeJS is efficient for architecture development.

How to use ChatGPT to code any programming language

ChatGPT is a valuable AI tool for enhancing coding skills and streamlining development processes.
A strong foundation in programming languages like Python, Node.js, CSS, and HTML is essential for effectively using ChatGPT.

Node.js unveils experimental TypeScript support

Node.js v22.6.0 released with experimental TypeScript support.

NodeJS VS Python: Which Technology Is The Best Option For AI Development? - Springs

Python and NodeJS are popular for AI/ML; Python has a strong community for support and newer features, while NodeJS is efficient for architecture development.

How to use ChatGPT to code any programming language

ChatGPT is a valuable AI tool for enhancing coding skills and streamlining development processes.
A strong foundation in programming languages like Python, Node.js, CSS, and HTML is essential for effectively using ChatGPT.
moreprogramming-languages

waitUntil is now available for Vercel Functions - Vercel

Enqueue asynchronous tasks with waitUntil in Vercel Functions to prevent blocking responses.

Execa 9: our biggest release

With Execa in Node.js, commands can be easily iterated, transformed, and streamed for efficient memory consumption.

Bun 1.1 JavaScript toolkit backs Windows 10

Latest Bun 1.1 version supports Windows 10 and is more compatible with Node.js.
Updates in Bun 1.1 include faster speeds, new features like HTTP2 client support, content-addressable cache, and cross-platform shell functionality.

Solving Memory Leaks in Node.js has Never Been Easier, Introducing the Latest Version of N|Solid

N|Solid introduces heap profiling for Node.js processes, aiding in memory leak detection.

How To Get The Hash of A File In Node.js

To calculate the hash of a file in Node.js, use fs and crypto modules. Multiple hashing algorithms like md5, sha1, sha256 can be employed.

GitHub - coder-hxl/x-crawl: Flexible Node.js AI-assisted crawler library

Flexible Node.js AI-assisted crawler library x-crawl enhances efficiency and intelligence with both AI and standard crawler features.

Node.js 20.6 adds built-in support for .env files

Node.js 20.6 introduced built-in support for .env file for managing environment variables.
It is convenient to use .env files directly without third-party packages, but some limitations exist.

Sending Email Using Node.js - SitePoint

Web applications require email functionalities for various purposes.
NodeMailer is a popular module for sending email in Node.js.

Implementing LiveViews in Node.js - LogRocket Blog

LiveViewJS is an open-source full-stack framework for building web applications with real-time updates in Node.js and Deno.
LiveView paradigm simplifies development by leveraging WebSockets and server-side rendering for efficient real-time user experiences.
#vulnerability

IMPORTANT! Update Node.JS to 18.20.1, 20.12.1, 21.7.2 or newer!

Older Node.JS versions had CVE-2024-27982 vulnerability with HTTP request smuggling potential.
Space before Content-Length header could allow attackers to smuggle in a second request.

IMPORTANT! Update Node.JS to 18.19.1, 20.11.1, 21.6.2 or newer!

Sending specially crafted HTTP request leads to resource exhaustion and denial of service in older versions of Node.JS.
The vulnerability involves lack of limitations on chunk extension bytes causing CPU and network bandwidth exhaustion.

IMPORTANT! Update Node.JS to 18.20.1, 20.12.1, 21.7.2 or newer!

Older Node.JS versions had CVE-2024-27982 vulnerability with HTTP request smuggling potential.
Space before Content-Length header could allow attackers to smuggle in a second request.

IMPORTANT! Update Node.JS to 18.19.1, 20.11.1, 21.6.2 or newer!

Sending specially crafted HTTP request leads to resource exhaustion and denial of service in older versions of Node.JS.
The vulnerability involves lack of limitations on chunk extension bytes causing CPU and network bandwidth exhaustion.
morevulnerability
#development

GitHub - bitair-org/node-lift: Power up Node.js

Node.js is powerful for building reliable applications.
Usage of TypeScript in Node.js can enhance development.

Node.js - Diving into the Node.js Website Redesign

Node.js website redesign involved over three dozen contributors and aimed to enhance user experience and developer tools.
The project faced challenges due to initially starting the redesign on a new domain and repository, causing workflow and contributor issues.

GitHub - bitair-org/node-lift: Power up Node.js

Node.js is powerful for building reliable applications.
Usage of TypeScript in Node.js can enhance development.

Node.js - Diving into the Node.js Website Redesign

Node.js website redesign involved over three dozen contributors and aimed to enhance user experience and developer tools.
The project faced challenges due to initially starting the redesign on a new domain and repository, causing workflow and contributor issues.
moredevelopment

Automating Blog Post Headers with Firefly Services

Building a Node.js utility for generating images with Adobe's Firefly API is efficient.
The CLI design allows passing prompts to generate headers with specific size adjustments.

Streamlining Cloud Development with Deno

The importance of the web as a medium of human information is emphasized.
Investment in further development of JavaScript tools is deemed necessary.

Enhancing Node.js Core: Introducing Support for Synchronous ESM Graphs

Node.js core now supports synchronous loading of ESM modules via require().
The use of --experimental-require-module flag enables synchronous loading of ESM modules in Node.js.

GitHub - evoluteur/evolutility-server-node: Model-driven REST APIs for CRUD and more, written in Javascript, using Node.js, Express, and PostgreSQL.

Evolutility-Server-Node offers generic REST APIs for CRUD operations and simple charts on objects with varied structures.
Evolutility-Server-Node requires Node.js, Express, PostgreSQL, and PG-Promise as dependencies for operation.

Three Cool (to me) Node.js Features

Node.js has a built-in feature for watching and reloading on change using a simple command-line flag --watch.
With Node.js, developers can create and run simple scripts utilizing the watch feature to automatically restart on file changes.

Links For You

Web Share API is a good candidate for progressive enhancement and web components.
Tutorial on setting up a Node server with TypeScript is easy to understand and quick to test.

sabik

Visualization tool Sabik helps identify code complexity and smells.
Sabik supports Node.js >= 14 and offers various output formats and options for analysis.

GitHub - maxnowack/blend: Simple dependency management without Git submodules

Dependency Management: Easily add, update, commit, and remove dependencies.
Simplified Workflow: Streamlined commands for managing dependencies without the complexities of Git submodules.

Parsing PDFs in Node.js - LogRocket Blog

PDF parsing is crucial for document processing and data extraction.
Node.js has popular packages like pdf-parse for PDF parsing.

Choosing the Right Node.js Package Manager in 2024: A Comparative Guide

npm provides a vast package repository with over two million packages.
npm is the default choice for Node.js projects due to seamless integration.

Getting Started with an Angular App in 2024

Creating an entity component in Angular with Bit allows for maintainable code with validation logic and unit tests.
Node.js functions created with Bit can facilitate the development of backend functionalities like fetching articles.
[ Load more ]