In this post, we implement a simple script in Node.js, which unsubscribes you from notifications from unwanted repositories in GitHub.
Easy Way to Make pino and debug Work Together
Sometimes you may need to integrate debug
with a high performance logger, such as pino
. And of course, there is an NPM package for that: pino-debug
. However, if you look at its source code, you will find out that it uses undocumented dirty hacks, which, in my opinion, make it quite fragile. This article demonstrates a much simpler solution.
MariaDB Driver for Knex
I once had to work with a project which used MariaDB connector for Node.js, and for some reasons it was necessary to add Knex query builder to it. The main issue was that Knex supports only a few drivers, and MariaDB is unfortunately not one of them. I had to write a MariaDB client for Knex myself, and that was surprisingly easy.
inet_xtoy: inet_ntop() and inet_pton() bindings for Node.js
A simple addon for Node.js that provides bindings to inet_ntop() and inet_pton() functions