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.

TLDR #8 - February 2022
Photo by Austin Distel / Unsplash

Vitest: Blazing-Fast Testing with ViteJS

GitHub - vitest-dev/vitest: Next generation testing framework powered by Vite.
Next generation testing framework powered by Vite. - vitest-dev/vitest

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

GitHub - dolthub/dolt: Dolt – Git for Data
Dolt – Git for Data. Contribute to dolthub/dolt development by creating an account on GitHub.

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

GitHub - dwmkerr/hacker-laws: 🧠 Laws, Theories, Principles and Patterns for developers and technologists.
🧠 Laws, Theories, Principles and Patterns for developers and technologists. - dwmkerr/hacker-laws

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

GitHub - hoppscotch/hoppscotch: Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)
Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia) - hoppscotch/hoppscotch

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

GitHub - requarks/wiki: Wiki.js | A modern and powerful wiki app built on Node.js
Wiki.js | A modern and powerful wiki app built on Node.js - requarks/wiki

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:

Before installing, be sure to review the server requirements.