Best of Node.jsFebruary 2025

  1. 1
    Video
    Avatar of javascriptmasteryJavaScript Mastery·1y

    Complete Backend Course | Build and Deploy Your First Production-Ready API

    Learn how to build a production-ready subscription management API that handles real users, money, and business logic. The course covers backend development essentials, including database modeling, API authentication with JWTs, API rate limiting with arcjet, and deployment to a VPS server. By the end of the course, you'll understand client-server communication, API structures, and database interactions, enabling you to create scalable and secure backend systems.

  2. 2
    Article
    Avatar of nodelandAdventures in Nodeland·1y

    Node.js: easy to learn, hard to master - perfect for AI

    Node.js is celebrated for its easy learning curve, flexibility, and speed. However, mastering it for production use, especially in the age of AI-assisted development, requires deep knowledge of operating systems, networking, and memory management. While beginners can quickly start shipping applications, handling production-level traffic and performance demands advanced skills. The gap in Node.js expertise can be mitigated by contributing to open source projects and staying updated with the latest developments in the ecosystem.

  3. 3
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to build a serverless AI agent to generate cold emails for your dream job

    This guide explains how to build a serverless AI agent using Langbase to automate the process of generating personalized cold emails for job applications. It details how to integrate memory agents into a Node.js project to enhance LLMs with long-term memory, making AI applications smarter and more capable. The tutorial covers step-by-step instructions from setting up the project to generating and using memory embeddings, ensuring the AI agent can produce context-aware responses based on the user's résumé and job descriptions.

  4. 4
    Article
    Avatar of codemotionCodemotion·1y

    Queueing Without a Queue: Enter fastq

    The post describes how to use fastq, an npm package for Node.js, to create in-memory queues for decoupling processes. It explains the installation and setup of fastq, creating a queue worker, pushing items into the queue, and building a retry strategy. While fastq is easy to use in certain scenarios, challenges like retry strategy implementation and loss of queue status on process termination must be addressed.

  5. 5
    Article
    Avatar of communityCommunity Picks·1y

    Migrating 160,000 Lines of Production Banking JavaScript to TypeScript with Zero Downtime

    Migrating a 160,000-line production JavaScript codebase to TypeScript was challenging but beneficial for WorkMade, a seed-stage startup. Despite the complexities, including zero downtime and multiple environments, the migration improved developer experience, maintainability, and stability. Success was achieved through a strategic approach, including a separate migration branch, incremental typing, continuous integration validation, and extensive testing. Essential tools and extensions, such as ESLint with TypeScript support and Checkly for monitoring, played crucial roles.

  6. 6
    Article
    Avatar of devblogsDevBlogs·1y

    Announcing TypeScript 5.8

    TypeScript 5.8 has been released with various enhancements such as granular checks for branches in return expressions, support for `require()` of ECMAScript modules in `--module nodenext`, a new `--erasableSyntaxOnly` option for flagging TypeScript-specific constructs with runtime behavior, the ability to disable default lib file lookups with `--libReplacement`, and optimizations for program loads and updates. Key changes also include preserved computed property names in declaration files and notable changes to `lib.d.ts` types.

  7. 7
    Article
    Avatar of antfuAnthony Fu·1y

    Move on to ESM-only

    Modern tools and libraries have increasingly adopted ESM as the primary module format, reducing the need for dual CJS/ESM packages. Transitioning to ESM-only simplifies development, reduces maintenance overhead, and improves package optimization. While careful consideration is needed when moving legacy packages, new packages should be released as ESM-only to leverage the benefits of modern tooling. The gradual adoption of ESM in the ecosystem is evident, and tools like Node Modules Inspector help in analyzing dependencies for a smoother transition.

  8. 8
    Article
    Avatar of nextNext.js·1y

    Next.js 15.2

    Next.js 15.2 introduces significant updates including a redesigned error UI for enhanced debugging, streaming metadata to improve page rendering, and performance improvements for Turbopack. Additionally, it provides experimental support for React's View Transitions API and Node.js Middleware. A new dev indicator consolidates development information, and users can enable these features and start new projects or upgrade existing ones using provided commands.

  9. 9
    Article
    Avatar of astro_sourceAstro·1y

    Astro 5.3

    Astro 5.3 introduces faster page rendering, automatic session storage setup, more control over Netlify bundling, and improved handling of HEAD requests. The new version reduces rendering times through selective asynchronous rendering, simplifies session management by automatically configuring storage, and allows for better file management in Netlify deployments. These updates are accompanied by several bug fixes and community contributions.

  10. 10
    Article
    Avatar of hnHacker News·1y

    drivecore/mycoder: Simple to install, powerful command-line based AI agent system for coding.

    MyCoder is a command-line based AI agent system designed for coding tasks. It supports modular tools, parallel task execution, and smart logging. The system leverages Anthropic's Claude API for decision-making and can interact with files, execute commands, and handle other development processes. Key features include self-modification, extensibility, and a focus on maintaining code quality and test coverage.

  11. 11
    Article
    Avatar of the_react_communityThe React Community·1y

    From HTML Templates to Well-Formatted PDFs: Using Puppeteer and NestJs

    Learn how to generate well-formatted PDFs using Puppeteer and NestJS in your projects. This guide covers dynamic and versatile document creation with these powerful tools.

  12. 12
    Article
    Avatar of bytesdevBytes by ui.dev·1y

    Erasing TypeScript

    Node.js 23.6 has introduced experimental support for running TypeScript files directly using the `--experimental-strip-types` mode, which requires the TypeScript syntax to be fully erasable. TypeScript 5.8 beta addresses this with a new `--erasableSyntaxOnly` flag to restrict the code to features that can be erased cleanly. This marks a significant step towards eliminating the need for a TypeScript build step and aligns with the growing trend of treating types as comments in JavaScript.

  13. 13
    Article
    Avatar of nodejsdevelopersNode.js developers·1y

    Node.js Tip of the Week: Node.js permission model

    Node.js introduces a permission model similar to Deno's with the --experimental-permission flag, allowing developers to control process permissions.

  14. 14
    Article
    Avatar of bunBun·1y

    Bun v1.2.3

    Bun v1.2.3 introduces a full-featured frontend development toolchain with fast hot reloading and bundling. It enhances Bun.serve() with built-in routing and dynamic path parameters, simplifies frontend-backend integration, and improves Node.js compatibility. Notable updates include Bun.SQL improvements, faster WebAssembly startup, streamlined CSS handling, and optimizations in memory usage for file streams. Bug fixes and enhancements cover various aspects like SQL queries, environment variables in HTML imports, and error handling improvements.

  15. 15
    Article
    Avatar of opensourcefrontendOpen Source Front End·1y

    I Built an Email Scheduler to Send Emails to Future!

    FutureMailto enables users to schedule emails to be sent to themselves or loved ones in the future, creating a digital time capsule. It allows for anonymous email sending and can be used for sending heartfelt messages or important reminders to future dates.

  16. 16
    Article
    Avatar of javascript_developersJavascript developers·1y

    AI Models Integration with OpenAI SDK in Node.js 🤖

    This project is a Node.js-based RESTful API that integrates the OpenAI SDK, enabling interaction with various AI models such as GPT, Gemini, and DeepSeek. It supports dynamic model selection, offers easy API integration with Node.js and Express, and provides a scalable architecture for AI-driven applications.

  17. 17
    Article
    Avatar of bunBun·1y

    Bun v1.2.2

    Bun v1.2.2 introduces significant bug fixes and improvements, including a 10-30% reduction in JavaScript idle memory usage, enhanced reliability in Bun.SQL, Bun.S3Client, and Bun's CSS parser, and improved Node.js compatibility. The update also resolves various issues related to dynamic imports, S3 multipart uploads, memory leaks, and glob patterns in file system operations.

  18. 18
    Article
    Avatar of bunBun·1y

    Bun v1.2.4

    Bun v1.2.4 brings a 60% speed boost to build times on macOS, introduces code signing support for single-file executables on macOS, and enhances dev server stability. Additionally, it addresses several bugs from the previous version, such as issues with `bun init` on Windows, `Buffer.prototype.indexOf`, and `net.Socket` error handling. It also includes updates for improved accessibility, faster array operations, and better handling of binary data in PostgreSQL.