GitHub Trends
10.1K subscribers
15.3K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#dockerfile #best_practices #es6 #eslint #express #expressjs #javascript #jest #microservices #mocha #node_js #nodejs #nodejs_development #npm #rest #style_guide #styleguide #testing #types

Here is the key information and benefits of the Node.js best practices guide in simple English**
- The guide provides over 100 best practices for Node.js development, covering project architecture, error handling, code patterns, testing, production readiness, security, and Docker practices.
- It is updated regularly and includes contributions from many experts in the field.
- The guide is available in multiple languages.

**Benefits** Following these best practices helps you write cleaner, more maintainable code.
- **Error Handling** Protect your application from common security threats with guidelines on secret management, input validation, and secure headers.
- **Performance** Ensure your code is ready for production with tips on monitoring, logging, and process uptime.
- **Testing** Learn how to optimize your Docker images and containers for Node.js applications.

By following these best practices, you can build robust, secure, and high-performance Node.js applications.

https://github.com/goldbergyoni/nodebestpractices
#python #linter #python #typechecker #types #typing

Mypy is a tool that helps you find mistakes in your Python code before you run it. It checks if you are using the right types for variables and functions, which can prevent errors. You add type hints to your code, and mypy warns you if there are any type errors. This makes your programs easier to understand, debug, and maintain. You can install mypy using pip and integrate it with many popular coding tools like Vim, Emacs, and VS Code. Using mypy saves time by finding bugs early, making your coding process more efficient.

https://github.com/python/mypy
#typescript #npm_package #types #typescript #typescript_definitions #utilities

TypeScript provides a collection of essential types through packages like `type-fest`. These types help developers write more robust and maintainable code by offering additional features beyond what's built into TypeScript. They include utilities for handling objects, arrays, strings, and numbers in a more precise way. For example, you can use types to ensure that certain properties are required or optional, or to transform data between different formats. This helps catch errors early during development rather than at runtime, making your code safer and easier to understand.

https://github.com/sindresorhus/type-fest
#rust #code_quality #ide #language #language_server #lsp #python #rust #type_check #type_checker #typecheck #typechecker #types #typing

Pyrefly is a fast tool for checking Python code. It helps catch mistakes before you run your code, making it easier to write reliable programs. Pyrefly can work with both new and old Python projects, even if they don't have type information. It integrates well with editors like VSCode, providing features like auto-completion and code refactoring. This makes coding faster and more efficient, helping you avoid bugs and making your code easier to understand and maintain.

https://github.com/facebook/pyrefly