Best of NPMAugust 2022

  1. 1
    Article
    Avatar of hashnodeHashnode·4y

    Build your first Electron app

    Electron is a free and open-source framework maintained mainly by GitHub. It powers dozens of apps, including Discord, Slack, Notion, VSCode, Spotify, and many more. The framework is designed to let developers create desktop applications using web technologies such as JavaScript, HTML, and CSS.

  2. 2
    Article
    Avatar of communityCommunity Picks·4y

    What Is Bun.js and Why Is the JavaScript Community Excited About It?

    Bun is the third of its kind after Node.js and Deno.js, created by Jarred Sumner using the Zig programming language. Bun advances to provide new levels of speed and enhanced complexity.

  3. 3
    Article
    Avatar of tilThis is Learning·4y

    Delete unused node_modules in a second and enjoy some free space!

    The problem is mostly for active developers who have many projects in their computer, but everyone can get benefit from it. The solution is called npkill and you can find it on npm.js. This tool will navigate for your disk looking for node_modules folders and will list all of them.

  4. 4
    Article
    Avatar of lnLaravel News·4y

    Heroicons 2.0 are here

    The makers of Tailwind CSS released Heroicons 2.0, a set of 264 hand-crafted SVG icons for the web. The icons are redrawn from scratch and feature a 24px solid set. They are available as first-party React and Vue libraries and official Figma components.

  5. 5
    Article
    Avatar of hashnodeHashnode·4y

    Create a new React app with Vite

    Vite: Enables Hot Module Replacement (HMR) Helps you import and manage your project and manage. With one command and a few seconds, it can generate all the above boilerplate for you and more. It’s fast, and you keep your application state if you want. HMR saves time you would otherwise spend waiting around or inputting data to recreate your app state. It reduces friction.

  6. 6
    Article
    Avatar of bitBits and Pieces·4y

    Send Real-Time Notifications with Socket.io and Node.js

    Express.js is a fast, minimalist framework that allows us to create real-time, bi-directional communication between clients and a Node.js server. This tutorial assumes that you have a basic knowledge of building web applications with Express and Node.io. In this section, you’ll learn how to send Setting up Express.JS on anode.js on a node.js.

  7. 7
    Article
    Avatar of rhdevRed Hat Developer·4y

    8 elements of securing Node.js applications

    Security practices apply to both the code itself and your software development process. Validate user input Unvalidated input can result in attacks such as command injection, SQL injection, and denial of service, disrupting your service and corrupting data.

  8. 8
    Article
    Avatar of pointerPointer·4y

    withastro/astro: Build faster websites with Astro's next-gen island architecture

    Astro is a website build tool for the modern web — powerful developer experience meets lightweight output. Astro is generously supported by Netlify, Vercel, and several other amazing organizations. We'll help you get your first contribution in no time!

  9. 9
    Article
    Avatar of hnHacker News·4y

    Big Changes Ahead for Deno

    The next release of Deno will include a new HTTP server. It is the fastest JavaScript web server ever built. Deno users have been split on the best level of compatibility with Node. Deno recently passed 4.1m downloads on GitHub with 250k monthly active users. The rate of adoption has continued to increase.

  10. 10
    Article
    Avatar of hashnodeHashnode·4y

    Creating a business card for the terminal

    The original idea, as far as I can tell, comes from bitandbang, and that's the one we'll be using and crediting for this article. We won't be creating the card from scratch as the heavy lifting is already done by bitand Bang.

  11. 11
    Article
    Avatar of codemotionCodemotion·4y

    Will Bun replace Deno as Node.JS killer?

    The creator of the runtime focused on its performance, speed, and completeness. It was developed in the Zig programming language and aims for compatibility with Node.js APIs. Like Deno, Bun offers first-class support for Typescript. You just need to call [bun my-ts-filets] and it will work.

  12. 12
    Article
    Avatar of hashnodeHashnode·4y

    Best Practices for TypeScript Monorepo

    Monorepos can be advantageous when used with the proper tools. In Yarn workspaces, installing packages across workspaces becomes faster and lighter. There are tools that can help you achieve this; tools that will add a new resolver for your modules when your code is being compiled. The use of Prettier and ESLint in a monorepo generally works well.

  13. 13
    Article
    Avatar of semaphoreSemaphore·4y

    Will Bun JavaScript Take Node's Crown

    Bun is a new and ambitious JavaScript toolset that rival those made by Deno when it came out in 2018. Bun, like Deno, supports TypeScript out of the box and offers developer-friendly features such as top-level awaits and built-in Web APIs. In this first test, we’ll compare how Bun JavaScript fares against Node for creating new projects. Bun takes 49 seconds to create an empty React App.

  14. 14
    Article
    Avatar of devtoDEV·4y

    Migrating from Create React App (CRA) to Vite

    Vite doesn't type-check your code, it only transpiles it to Javascript. Vite has matured a lot and the community has grown significantly compared to when I first created this CRA based app 2 years ago. If your app is small enough, this is all you might need to do. If you need to check for node environments (i.e development or production or production, you can do so. If you want to do so, there are more optional steps.