Best of NPMMarch 2024

  1. 1
    Article
    Avatar of devtoDEV·2y

    A Guide to Building CLI Tools in JavaScript

    This guide provides step-by-step instructions on building CLI tools in JavaScript, including setting up the development environment, crafting the CLI application, testing and linking the tool locally, enhancing functionality, and sharing the tool on npm.

  2. 2
    Article
    Avatar of lobstersLobsters·2y

    A Javascript Nightmare

    The post describes the author's frustrating experience with a JavaScript issue related to exporting PDF files. The investigation led to suspicions on Nginx, AWS WAF, and S3 buckets, but ultimately the issue was caused by library and package version compatibility. The post emphasizes the challenges and risks of the JavaScript ecosystem.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Writing & Compiling WASM in Rust

    This post discusses how to write a WebAssembly module in Rust for image processing. It covers different ways to deploy WebAssembly, and explains how to use JavaScript types in Rust.

  4. 4
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    NPM's First Real Competitors (TWO New Registries??)

    Two new competitors to npm's package registry have emerged: jsr and Vault. The jsr registry is built for TypeScript and ES Modules, with features such as native TypeScript support, ecmascript modules, and cross-runtime compatibility. Vault, led by the original creator of npm, aims to improve the developer experience and address new requirements in the package ecosystem. The team includes key members from the original node and npm teams.

  5. 5
    Article
    Avatar of robinwieruchRobin Wieruch·2y

    Seeding a Database with Prisma (TypeScript)

    A tutorial on how to seed a database with Prisma in a TypeScript application.