Neural network chess
#518 — January 23, 2024
Microsoft TypeSpec: A TypeScript-Inspired Way to Define APIs — A language for concisely describing cloud service APIs and generating other API description languages (e.g. OpenAPI), client and service code, docs, and more. Formerly known as CADL. – GitHub repo.
Microsoft
Cryptography Fundamentals with the crypto Module — An introduction to some concepts of modern cryptography, and how to work with them in practical terms in Node using methods from the crypto module (which has rather intimidating-looking documentation otherwise).
Yonatan Mevorach
Effortless GraphQL with Hasura: TypeScript Included — Hasura connects to your data sources, generates a GraphQL API, and deploys it globally — instantly. But, what if you could also write and use TypesScript functions directly in your GraphQL API? With Hasura, you can. Check it out on GitHub.
Hasura sponsor
A 2024 Wishlist for Node’s Test Runner — Node 20 introduced its own test runner, and while it was designed to be quite minimal, there are still improvements that could be had.
Colin J. Ihrig
IN BRIEF:
Node 21.6.1 (Current) has been released to fix a bug in Undici when using WebStreams.
♖ A fun look at getting a neural network to play chess using TensorFlow.js.
🔐 The OpenJS Foundation shares its latest Node.js security progress report.
Alternative runtime Bun has introduced the Bun shell, a way to more easily write cross-platform shell scripts in JavaScript. If Bun isn’t your thing, Google’s zx provides something similar in Node land.
Meanwhile, Baldur Bjarnason is disillusioned with Deno.
Security researchers have found that 8.2% of the most downloaded npm packages are officially deprecated, but the real number might be over 20%.
Psst.. apparently the next major version of Adonis, version 6, lands tomorrow..
Handling Environment Variables in Node — An in-depth guide to NODE_ENV, how to use Fastify secret management plugins, how to validate environment variables, and bringing Platformatic into the mix.
Matteo Collina
How to Use Google Cloud Shell Editor to Deploy from GitHub to Google Cloud Run — Google Cloud Shell Editor provides an interesting option for getting things done without leaving the browser.
Geshan Manandhar
▶ Is It Time to Switch from Docker to Podman?
Christian Lempa
🛠 Code & Tools
Shikiji: Shiki-Inspired Syntax Highlighter — A syntax highlighter based on TextMate grammars and that supports using typical modern editor themes. Fully tree-shakable ESM and runs on both the frontend and backend.
Pine Wu and Anthony Fu
Try a Lightning-Fast Pairing Tool Built with You in Mind — Tuple will change the way you think about pair programming. Try it with your team free for 14 days, no card required.
Tuple sponsor
Wiki.js: A Modern Wiki App Built on Node — A mature project packed with features and an ecosystem of modules to integrate with other systems. (Note that it’s AGPL licensed.) GitHub repo.
Requarks
✂️ Knip V4: Find and Remove Unused Files and Dependencies — A popular tool for finding unused dependencies and exports in projects. v4 boasts up to an 80% boost in performance, the ability to work with Astro, MDX, Svelte and Vue files, plus there’s a sneak peek at a forthcoming new feature.
Lars Kappert
Pa11y: An Automated Web Page Accessibility Testing Tool — Something you can add into your build process, perhaps.
Pa11y
📰 Classifieds
🔄 Use Hookdeck’s reliable Event Gateway to receive, send, transform, filter, and route events in your event-driven applications. Learn more.
🐘 Learn how Epsio’s Incremental Materialized Views boosts the performance of your most complex queries! Learn more.
GLIDE for Redis (Preview) – A new Redis client library for both Node.js and Python from the folks at AWS.
strong-soap 4.0 – Full-featured SOAP driver.
Mongoose 8.1 – MongoDB object modeling approach.
jsdom 24.0 – Pure JS implementation of web standards for Node.
node-cache-manager 5.4 – Wrap caches around functions.
RDB 3.4 – Rich ORM for Node and TypeScript.
Undici 6.4 – Powerful HTTP/1.1 client library.
signpdf 3.2 – Sign PDFs from Node.
EverShop 1.0 – Node.js-based ecommerce platform.
AVA 6.1 – Popular test runner.