---
title: "Adonis v6"
publication: "Node Weekly"
issue: 519
published_at: "2024-01-30"
canonical_url: "https://nodeweekly.com/issues/519"
---

Plus more npm shenangians, TypeScript 5.4 beta, and publishing an npm package the modern way. |        

#​519 — January 30, 2024 

[Read on the Web](https://nodeweekly.com/issues/519)  

Together with [![Memetria\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_600,h_145/e_make_transparent/co_white,e_outline:7/vvpdctzacmq3xehpvwps.png)](https://dashboard.memetria.com/nodeweekly/)  

![Node.js Weekly](https://res.cloudinary.com/cpress/image/upload/v1653576619/lgfqinzbdqttwmhvljxb.png) 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/rv4lholxeexpx0xayhpv.jpg)](https://adonisjs.com/blog/adonisjs-v6-announcement)  

[AdonisJS v6: The Complete Web Framework](https://adonisjs.com/blog/adonisjs-v6-announcement) — If you want a TypeScript-first backend Web framework with [amazing docs](https://docs.adonisjs.com/guides/introduction) and packed with features out the box, [Adonis](https://adonisjs.com/) is worth a look. v6 takes a huge step forward by using ESM by default, offering significantly more type safety overall (including for routes and middleware references), a new validation library, and more. 

Harminder Virk   [![\](https://copm.s3.amazonaws.com/bb767341.png)](https://dashboard.memetria.com/nodeweekly/) 

[Memetria: Secure, Scalable Redis Hosting](https://dashboard.memetria.com/nodeweekly/) — High performance Redis hosting with large key tracking, detailed metrics, and a superior uptime record. 

Memetria sponsor    

[Starting and Publishing a Library: The Modern Way](https://advancedweb.hu/modern-javascript-library-starter/) — A walk through the steps involved in creating and packaging a library, publishing a package, adding testing, and automatically publishing it all to the NPM registry, along with provenance. 

Tamás Sallai   

_IN BRIEF:_ 

- 🎉 Say hello to [TypeScript 5.4 Beta](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4-beta/).
- The npm registry is a frequent target for nonsense and misdeeds, and now it's been flooded with [748 packages containing movies](https://blog.sonatype.com/npm-flooded-with-748-packages-that-store-movies). Why? Who knows.
- There are malicious npm packages [trying to steal SSH keys](https://www.scmagazine.com/news/github-npm-registry-abused-to-host-ssh-key-stealing-malware) as well..
- Did you know Google (indirectly) supports a [performance-oriented blog template](https://github.com/google/eleventy-high-performance-blog) for the Node-powered [Eleventy](https://www.11ty.dev/) static site generator? (Eleventy 3.0 is coming soon, by the way, and they're still [looking for people to kick the tires.](https://www.11ty.dev/blog/canary-eleventy-v3/))   

▶[A Step-by-Step Tutorial on Deploying Node.js Apps on AWS EC2](https://www.youtube.com/watch?v=nQdyiK7-VlQ) — Taking the manual, 'do it all by hand' approach. A good way to learn about all the pieces involved before automating it, perhaps. 

Sam Meech-Ward   

[How TypeScript Can Help in Modelling Business Workflows](https://event-driven.io/en/how_to_have_fun_with_typescript_and_workflow/) 
Oscar Dudycz   

[A Look Inside the `.git` Folder](https://jvns.ca/blog/2024/01/26/inside-git/) 
Julia Evans   

🛠 Code & Tools  

[Keyv: Simple Key-Value Storage with Support for Multiple Backends](https://github.com/jaredwray/keyv/blob/main/packages/keyv/README.md) — A library that abstracts the concept of key-value storage, allowing you to easily use a memory based store (by default) or, if you need persistence, Redis, SQLite, Postgres, MySQL, etcd, Mongo, or even a [tiered](https://github.com/jaredwray/keyv/tree/main/packages/tiered) approach. 

Jared Wray et al.   

[Payload 2.9: A Headless CMS Platform Built on Node](https://payloadcms.com/) — A Node.js-backed headless CMS with a customizable React-based admin system, GraphQL and REST APIs, flexible auth, file uploads, etc. Enough features to _“feel more like an app framework akin to Laravel,”_ they say. [GitHub repo.](https://github.com/payloadcms/payload) 

Payload CMS, LLC   

[JavaScript Frontend Error Monitoring 101](https://sentry.io/resources/javascript-frontend-error-monitoring-101?utm_medium=paid-community&utm_source=nodeweekly&utm_campaign=frontend-fy24q4-ebook&utm_content=newsletter-frontend101-read) — Take a crash (pun intended) course on JavaScript error monitoring and debugging with Sentry. [Read on](https://sentry.io/resources/javascript-frontend-error-monitoring-101?utm_medium=paid-community&utm_source=nodeweekly&utm_campaign=frontend-fy24q4-ebook&utm_content=newsletter-frontend101-read). 

Sentry sponsor   

[Husky 9: Git Hooks Made Easy](https://github.com/typicode/husky/releases/tag/v9.0.1) — [Husky](https://typicode.github.io/husky/) provides a structured way to use git hooks to do things like auto-lint your commit messages or code, and run tests upon committing or pushing. v9 makes setting it up and adding hooks _much_ easier. 

typicode   

[RDB 3.5: A Database Agnostic ORM for Node](https://rdbjs.org/) — Around for many years, RDB sits among a wide range of options, but the homepage makes it easy to see if its flavor is to your taste. It supports both JS and TypeScript, ESM and CJS, and v3.5 introduces Oracle support. [GitHub repo.](https://github.com/alfateam/rdb) 

Lars-Erik Roald   

[create-dmg 7.0: Create Good-Looking DMGs for macOS Apps](https://github.com/sindresorhus/create-dmg) — As well as creating hundreds [over a thousand](https://www.npmjs.com/~sindresorhus) npm packages, Sindre also has a [rapidly growing suite of macOS and iOS apps](https://sindresorhus.com/apps) to his name, so this tool is clearly very useful to him, and it may be to you, too. 

Sindre Sorhus   

- [Puppeteer 21.10.0](https://github.com/puppeteer/puppeteer/releases/tag/puppeteer-core-v21.10.0) – The Node API for Chrome - now with the experimental `browser.debugInfo`.
- [Restify 11.2](https://github.com/restify/node-restify) – Framework for building RESTful web services.
- [aws-lambda-fastify 4.0](https://github.com/fastify/aws-lambda-fastify) – Run Fastify apps on AWS Lambda.
- [Fastify 4.26.0](https://github.com/fastify/fastify/releases/tag/v4.26.0) – The aforementioned low overhead web framework.
- [Ottoman 2.4](https://github.com/couchbaselabs/node-ottoman) – ODM for Couchbase, now with full text search support.
- [cookie-session 2.1](https://github.com/expressjs/cookie-session) – Simple cookie-based session middleware.
- [Nightwatch.js 3.4](https://github.com/nightwatchjs/nightwatch/releases/tag/v3.4.0) – End-to-end testing framework.
- [Flatbush 4.4](https://github.com/mourner/flatbush) – Fast spatial index for 2D points/rects.
- [dnt 0.40](https://github.com/denoland/dnt) – Deno to npm package build tool.
- [Faker 8.4](https://fakerjs.dev/) – Generate fake data on demand.
- [Got 14.1](https://github.com/sindresorhus/got) – Human-friendly HTTP request library.
- [Undici 6.5](https://github.com/nodejs/undici) – Node's HTTP/1.1 client library.    

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. _Thanks!_ 

--- 

**Sponsorship:** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Cancel your subscription](https://nodeweekly.com/leave/*|UID|*) or [change your address](https://nodeweekly.com/edit_subscription/*|UID|*).
