Best of SnykMay 2024

  1. 1
    Article
    Avatar of snykSnyk·2y

    10 modern Node.js runtime features to start using in 2024

    Explore 10 modern Node.js runtime features to start using in 2024. Includes the Node.js test runner, native mocking, test coverage, watch mode, .env loader, import.meta support, native timers with promises, permissions model, and policy module.

  2. 2
    Article
    Avatar of snykSnyk·2y

    Fastify plugins as building blocks for a backend Node.js API

    Fastify is a high-performance web framework for building backend Node.js APIs. It offers advantages such as modern ESM support, async/await promise-based route definitions, high performance with fast radix route tree resolution, and a rich plugin architecture with encapsulation. The plugins mentioned in the post, including @fastify/pino, @fastify/cors, @fastify/env, and @fastify/swagger, serve as building blocks for Fastify applications and provide features like logging, CORS support, environment variable management, and API documentation.