TLDR #8 - February 2022
Discover powerful developer tools and resources in February’s TLDR: Vitest for ViteJS testing, Dolt for Git-style database management, Hacker Laws, Hoppscotch for API testing, and Wiki.js for modern documentation management.
Vitest: Blazing-Fast Testing with ViteJS
Vitest is a lightweight, Vite-native testing framework for JavaScript and TypeScript. Built with performance in mind, it runs tests in parallel using tinypool, significantly reducing test times.
What sets Vitest apart is its seamless integration with ViteJS. You can configure tests directly within your vite.config.js
file or in a separate config. This makes it an ideal choice for Vite-based projects.
Vitest supports a wide range of modern frontend frameworks, including:
Note: Vitest is still under development. It’s not recommended for production-critical projects yet, but it’s a promising tool for rapid development and experimentation.
Dolt: Version Control for SQL Databases
Imagine managing your SQL database like a Git repository. Dolt makes this possible by bringing Git-style version control to databases.
With Dolt, you can:
- Fork and clone databases
- Merge schema or data changes
- Push and pull from remotes
- Maintain a full history of data changes
It runs on Linux, macOS, Windows, and is also available via Docker. Dolt is especially useful for teams that need to collaborate on datasets or publish open databases.
Explore publicly available databases to fork on DoltHub.
Hacker Laws: Curated Principles for Better Code
Hacker Laws is a GitHub repository that compiles key theories, rules, and principles relevant to software development and internet culture.
You’ll find classic references like:
The repo is available in multiple languages and includes a downloadable PDF version (English only). If you have a law that isn’t listed, you can suggest it by opening an issue on the repository.
This is a great resource for both seasoned developers and newcomers who want to understand the underlying principles of effective coding.
Hoppscotch: Effortless API Testing in Your Browser
Hoppscotch is a modern, open-source API testing tool designed for speed and simplicity. It supports a wide range of protocols and features including:
- REST and GraphQL APIs
- WebSocket and MQTT support
- Authentication, headers, and query parameters
Hoppscotch runs entirely in the browser and is also installable as a Progressive Web App (PWA). Its clean interface and real-time response previews make it ideal for quick debugging and API prototyping.
Wiki.js: A Powerful, Self-Hosted Documentation Platform
Wiki.js is an open-source wiki and documentation platform built on Node.js. It supports installation across multiple platforms including Docker, Kubernetes, Heroku, and traditional Linux or Windows environments.
Key features of Wiki.js:
- Supports popular RDBMSs like PostgreSQL, MySQL, SQLite, and SQL Server
- Offers markdown, WYSIWYG, and code-based editing
- Integrates well with Visual Studio Code
- Built with Vue.js and styled using Vuetify
Before installing, be sure to review the server requirements.