Best of NPM — 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

    total-typescript/beginners-typescript-tutorial: An interactive TypeScript tutorial for beginners

    The plan for these exercises is to develop them into a full workshop, and then bundle them into the full video course - Total TypeScript. Each exercise is split into a *.problem.ts and a *.solution.ts.

  3. 3
    Article
    Avatar of snykSnyk¡3y

    How to build a secure API gateway in Node.js

    API gateways can provide a clear path for your front-end applications (e.g., websites and native apps) to all of your back-end functionality. They can act as aggregators for the microservices and as middleware to handle common concerns, such as authentication and authorization. The most popular choice for Node.

  4. 4
    Article
    Avatar of communityCommunity Picks¡3y

    Vite 4.0 is out!

    Vite 4.0 is out! Vite 3 was released five months ago. Vite is now using Rollup 3, which allowed us to simplify Vite's internal asset handling.

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

  6. 6
    Article
    Avatar of phProduct Hunt¡4y

    Alinea - Open source headless CMS

    Open source CMS Alinea is an open source content management system written in TypeScript. Installed as a single NPM package you get going without setting up databases, environments or any other services.

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

  8. 8
    Article
    Avatar of communityCommunity Picks¡4y

    Best practices for creating a modern npm package

    You will first learn how to create an npm package, so you can get familiar with building and publishing a package. Then you’ll learn what’s involved with making a more robust and production-ready package by setting up a test framework, a continuous integration and deployment pipeline, security checks, and automated semantic npm publish.

  9. 9
    Article
    Avatar of communityCommunity Picks¡3y

    How to solve coding issues using ChatGPT

    The most direct way to avoid a side effect is to use a separate process. So how would you do that if the job is assigned to you? I will use the npm command. So let’s ask the omniscient again: This looks like a clean solution to me.

  10. 10
    Article
    Avatar of medium_jsMedium¡3y

    As a Front-End Engineer: 8 Useful Npm Coding Techniques That You Should Use

    Npm can help you achieve this goal quickly. You only need to run to quickly open's documents 2.# Open a package’s documentation page My friends, it would have saved me a lot of time if I had known this trick earlier.

  11. 11
    Article
    Avatar of hnHacker News¡4y

    tabler/tabler: Tabler is free and open-source HTML Dashboard UI Kit built on Bootstrap

    Tabler is a premium and open source dashboard template with a responsive and high-quality UI. Preview Tabler is fully responsive and compatible with all modern browsers. The only requirement is basic HTML and CSS (and some Liquid) knowledge.

  12. 12
    Article
    Avatar of redstRed Stapler¡3y

    The Difference between npm and npx command

    NPM vs NPX is the package manager for the Node.js JavaScript JavaScript runtime. NPM is used to install and manage packages (i.e., libraries, frameworks, tools, etc.) that are published on the npm registry. This can make it easy to confuse the two, especially if you are not familiar with.

  13. 13
    Article
    Avatar of pointerPointer¡4y

    AykutSarac/jsoncrack.com: 🔮 Seamlessly visualize your JSON data instantly into graphs; paste, import or fetch!

    JSON Crack is a tool that generates graph diagrams from JSON objects. These diagrams are much easier to navigate than the textual format. The tool also allows you to search the nodes. You can use the web version at jsoncrack.com or also run it locally as Docker container.

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

  15. 15
    Article
    Avatar of sitepointSitePoint¡3y

    Tauri: Fast, Cross-platform Desktop Apps

    In this tutorial, we’ll explore Tauri, a modern, cross-platform framework for building desktop apps. Electron is great, but it has some significant drawbacks, which some other modern frameworks have overcome. Tauri is a modern framework that allows you to design, develop and build cross- platform apps using familiar web technologies like HTML, CSS, and JavaScript.

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

  17. 17
    Article
    Avatar of freecodecampfreeCodeCamp¡4y

    Test-Driven Development Tutorial – How to Test Your JavaScript and ReactJS Applications

    Test-Driven Development (TDD) requires you to pre-specify the output your intended program must produce to pass the test of functioning the way you envisioned. This tutorial will show you all you need to cd path/to/addition-calculator-jest-project Step 4: Create a package, Initialize a package.json file for your project. If your package manager is Yarn, run: yarn add jest --save-dev.

  18. 18
    Article
    Avatar of asayerasayer¡3y

    Getting started with Vite

    Vite serves your code via native ES module imports during development and bundles it with Rollup for production. Vite is a lightning-fast cold server start and offers instant hot module replacement and true on-demand compilation. It is also highly extensible via its plugin API and JavaScript API with full typing support.

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

  20. 20
    Article
    Avatar of logrocketLogRocket¡4y

    Building a Pomodoro Timer with Tauri using React and Vite

    Tauri is a set of tools that lets you build cross-platform desktop apps using frontend frameworks. When combined with React and Vite, it can be used to build extremely fast binaries for all desktop platforms. In this post, we will build a simple Pomodoro timer, and invite you to follow along with Below are the requirements for our app. To start, head over to src/App.tsX.tsx.

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

  22. 22
    Article
    Avatar of logrocketLogRocket¡3y

    Build a full-stack application with AdminJS

    AdminJS is an open source Node.js admin panel that promises to do just that: AdminJS. The tutorial portion of this post will demonstrate how to use AdminJS to build a full-stack application. It offers a range of customizability, it provides a REST API that can be integrated into other applications.

  23. 23
    Article
    Avatar of devtoDEV¡4y

    Better ways to Create React App

    1394 packages in 44s 209 packages are looking for funding run `npm fund` for details. Vite Vite is a batteries included bundler & development server with presets for multiple frameworks, including React with or without TypeScript. Vite provides much smoother developer experience and works out of the box, but you're building a huge project or need the smallest possible footprint. If it's a little little Didn't check tbh, I used it. It has a couple of quirks that need to be understood. The output was definitely lower in weight.

  24. 24
    Article
    Avatar of denoDeno¡4y

    Deno 1.28: Featuring 1.3 Million New Modules

    Deno 1.28: Featuring 1.3 million new Modules Bartek Iwańczuk, David Sherret, Andy Jiang, Ryan Dahl, and Andy Jiang. Deno's secure-by-default, opt-in permissions model means spending less time worrying about suspicious packages and more time shipping product.

  25. 25
    Article
    Avatar of communityCommunity Picks¡4y

    Deno 1.27: Major IDE Improvements

    Deno 1.27 has been tagged and released with the following new features and changes. Language Server/IDE improvements inlay Hints TypeScript added support for inlay hints in Improvements to npm compatibility. Deno now supports Node-API (formerly N-API) when used within Node.js. It means that packages like parcel, sqlite3, usb or fs-xattr can now be used with Deno. The new version of Deno can be used.