#nodejs

[ follow ]
#web-development

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.

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.

Top JavaScript Tools for Developers - Makemychance

JavaScript is essential for web development, with numerous tools to improve productivity and streamline workflows.

From Scratch to Server: Creating and Hosting a Node.JS App with SVR.JS - SVR.JS

Node.JS is a versatile runtime environment allowing developers to build scalable web applications using JavaScript on the server-side.

Node.js previews network inspection support

Node.js 20.18.0 adds experimental network inspection for HTTP and HTTPS, offering enhanced debugging.
The tls.createSecureContext API now supports partial trust chains for certificate management.

How to Test Your Node.js API Using Insomnia

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

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.

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.

Top JavaScript Tools for Developers - Makemychance

JavaScript is essential for web development, with numerous tools to improve productivity and streamline workflows.

From Scratch to Server: Creating and Hosting a Node.JS App with SVR.JS - SVR.JS

Node.JS is a versatile runtime environment allowing developers to build scalable web applications using JavaScript on the server-side.

Node.js previews network inspection support

Node.js 20.18.0 adds experimental network inspection for HTTP and HTTPS, offering enhanced debugging.
The tls.createSecureContext API now supports partial trust chains for certificate management.

How to Test Your Node.js API Using Insomnia

This Node.js API allows for basic CRUD operations on user data using Express.
moreweb-development
#javascript

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.

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.

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 Released, Focuses on Interoperability with Legacy JavaScript Infrastructure and Use at Scale

Deno 2 offers seamless integration with Node.js, enabling backward compatibility, modern dependency management, and a stable standard library for developers.

USPTO petitioned to cancel Oracle's JavaScript trademark

Oracle's trademark ownership of 'JavaScript' creates unnecessary barriers; a petition to the USPTO seeks to free the name for public use.

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.

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.

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 Released, Focuses on Interoperability with Legacy JavaScript Infrastructure and Use at Scale

Deno 2 offers seamless integration with Node.js, enabling backward compatibility, modern dependency management, and a stable standard library for developers.

USPTO petitioned to cancel Oracle's JavaScript trademark

Oracle's trademark ownership of 'JavaScript' creates unnecessary barriers; a petition to the USPTO seeks to free the name for public use.
morejavascript

8 Java frameworks for a cloud-native world

Java remains a powerful language but faces competition from Node.js in server environments due to performance and flexibility.
Java's evolution now incorporates reactive programming to handle high user loads more efficiently.
#performance-optimization

N|Solid Launches AI Powered Profiling: Unleashing the Power of CPU and Heap Insights

N|Solid offers AI-driven profiling tools for optimizing Node.js applications, providing actionable insights for improving performance and resolving issues efficiently.

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.

N|Solid Launches AI Powered Profiling: Unleashing the Power of CPU and Heap Insights

N|Solid offers AI-driven profiling tools for optimizing Node.js applications, providing actionable insights for improving performance and resolving issues efficiently.

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
#open-source

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.

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.

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.

Node.js v22: "Jod" Binaries Available

NodeSource offers reliable support for Node.js users with timely access to updated binaries.

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.

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.

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.

Node.js v22: "Jod" Binaries Available

NodeSource offers reliable support for Node.js users with timely access to updated binaries.
moreopen-source
#typescript

Mastering NestJS: A Comprehensive Guide for Developers - Makemychance

NestJS is a progressive Node.js framework for building scalable server-side applications, favored for its modular architecture and TypeScript usage.

Node.js unveils experimental TypeScript support

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

Mastering NestJS: A Comprehensive Guide for Developers - Makemychance

NestJS is a progressive Node.js framework for building scalable server-side applications, favored for its modular architecture and TypeScript usage.

Node.js unveils experimental TypeScript support

Node.js v22.6.0 released with experimental TypeScript support.
moretypescript
#cloudflare

Go is the most used language for API clients

Go is now the leading programming language for API clients, overtaking Node.js according to Cloudflare's latest report.

Go eclipses Node.js in web API requests, Cloudflare reports

Go has overtaken Node.js to become the most popular language for automated API requests according to Cloudflare's 2024 review.

Go is the most used language for API clients

Go is now the leading programming language for API clients, overtaking Node.js according to Cloudflare's latest report.

Go eclipses Node.js in web API requests, Cloudflare reports

Go has overtaken Node.js to become the most popular language for automated API requests according to Cloudflare's 2024 review.
morecloudflare

Council Post: Rethinking Infrastructure Scaling With Context And Flexibility

The shift to cloud infrastructure has introduced optimization challenges that require specific contextual understanding to address inefficiencies.
#postgresql

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.

API with NestJS #178. Storing files inside of a PostgreSQL database with Drizzle

PostgreSQL's bytea column can store binary data, but Drizzle ORM requires custom definitions to handle it properly.

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.

API with NestJS #178. Storing files inside of a PostgreSQL database with Drizzle

PostgreSQL's bytea column can store binary data, but Drizzle ORM requires custom definitions to handle it properly.
morepostgresql
#expressjs

Intro to Express.js: Endpoints, parameters, and routes

Express.js is a popular HTTP server and middleware for Node.js, essential for request handling.

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).

Intro to Express.js: Endpoints, parameters, and routes

Express.js is a popular HTTP server and middleware for Node.js, essential for request handling.

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).
moreexpressjs
#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

OpenTelemetry in N|Solid

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

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 v22 Enters Long Term Support (LTS)

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

Node.js v23.0.0 Released: The End of 32-bit Windows Support | HackerNoon

Node.js v23.0.0 drops support for 32-bit Windows due to low usage, focusing on improving support for 64-bit systems.

Join our Partner Program!

NodeSource offers an Approved Partner Program to support companies building Node.js solutions, helping them win deals and enhance client offerings.

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 v22 Enters Long Term Support (LTS)

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

Node.js v23.0.0 Released: The End of 32-bit Windows Support | HackerNoon

Node.js v23.0.0 drops support for 32-bit Windows due to low usage, focusing on improving support for 64-bit systems.

Join our Partner Program!

NodeSource offers an Approved Partner Program to support companies building Node.js solutions, helping them win deals and enhance client offerings.
moresoftware-development
#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

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.
#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.

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.

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.

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.
#programming-languages

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.

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

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.

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.

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.

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.
[ Load more ]