A snippet to create Node.js executables that use ECMAScript modules.
Snippets
Make magical things happen with a few lines
Use
:nth-last-child()
to build a "quantity query" and selector elements only if there's a given number of them.Select a previous sibling using CSS
:has()
.Learn how to use a JavaScript Proxy to map object properties to
fetch
calls.A quick one-liner to navigate to the git root directory.