JavaScript
32.1K subscribers
1.04K photos
10 videos
33 files
723 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript πŸš€ Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
What is the output?
Anonymous Quiz
68%
true
32%
false
πŸ€”31πŸ‘7❀4🀣4πŸ‘Ž1
πŸ—ž Issue 25 / 26.07.2023


πŸ“„ The Node.js Best Practices List: 2023 Edition

A valuable, long standing resource has been β€œmodernized to 2023 standards” (complete with recommendations of more modern libraries) with lots of work by creator Yoni and an ever growing team of contributors. The topics remain the same, however, covering areas like code style, project architecture, and taking apps into production. (If you’re already familiar with this list, you can skim through the #new and #updated hashtags on the page.)

YONI GOLDBERG ET AL.


πŸ“„Microsoft TypeChat: An Approach for Type-Safe LLM Responses

It’s interesting to see a new project from Microsoft with so many prominent names attached to it, but demonstrates the huge excitement within MS for ML and large language models (LLMs). TypeChat’s goal is to work around the issue of LLMs outputting unstructured natural language and instead to direct such output into a predictable, typed form.

HEJLSBERG, LUCCO, ROSENWASSER ET AL.


©️NODE.JS WEEKLY
❀3πŸ‘3πŸ”₯1
πŸ›  CODE & TOOLS


πŸ”© Ink 4.3: Build Interactive CLI Apps using React

A terminal-based React renderer so you can build command line apps using React-style components. It's mature and used by all sorts of folks.

VADIM DEMEDES


πŸ”© Necord: A Framework for Creating Discord Bots

It uses Nest and Discord.js under the hood. Some example apps show how easy it is to deploy bot functions. GitHub repo.

NECORD


πŸ”© MailDev: SMTP Server and Web Interface for Testing Emails

If your app needs to send email, rather than sending it to a live account, you could send it to this app which lets you get a local preview without having to think about spam filters, etc.

DAN FARRELLY
πŸ‘4❀1
CHALLENGE #87
πŸ‘6
πŸ‘15❀4πŸ€”1
How We Generate JS and Python SDKs from a Canonical Rust SDK'

PostgresML is an extension that adds machine learning functions into Postgres. Its team loves and prefers Rust but most of its users are using JavaScript or Python. What to do? Simultaneously write multi-language libraries using Rust..

SILAS MARVIN (POSTGRESML)
πŸ‘4❀1πŸ”₯1
CHALLENGE #88
πŸ‘11πŸ€”4❀1🀣1
πŸ—ž Issue 26 / 28.07.2023


πŸ“„ Hono + Htmx + Cloudflare: A New Stack?

A lot of people seem to be jumping on htmx lately as an alternative to the complexity of frameworks like React, but what if you want to keep using JSX? Hono is a (vaguely Express-like) Web framework targeting edge function use cases and includes middleware for rendering JSX. Yusuke gives a quick example of how all this can come together with Cloudflare Workers and D1 for a simpler, full-stack JS experience.

YUSUKE WADA


πŸ“„ Shrinking VS Code with Name Mangling

There’s a fair bit of JavaScript in VS Code but the team has managed to reduce the size of the shipped code by almost 4MB without actually doing any deleting or refactoring thanks to a new β€˜name mangling’ build step. This is a great read on how the team approached things and got it working.

MATT BIERNER


©️JS WEEKLY
❀6πŸ‘1
⚑️ IN BRIEF

🐦 React/Redux's Dan Abramov is leaving Meta. Having achieved so much and reaching a point where he feels ready to move on, Dan is departing Meta but will remain on the React team as an independent third party. πŸ’™

πŸ“˜ The Concise TypeScript Book is, unsurprisingly, a guide to using TypeScript. More surprisingly, it's all on GitHub and free to read. Hurrah.

Tixy is an interactive page for learning logic, math and expressions by solving puzzles using a visual grid. It starts off very simply, but gets elaborate quickly. This is a neat way to pick up some of the skills needed for Dwitter.

JSPlayground is a new Web-based JavaScript sandbox tool.

Is the term 'Jamstack' finished? Brian Rinaldi wonders.
πŸ”₯4
πŸŽ‰ RELEASES

Bun 0.7
The JavaScriptCore-based alternative JS runtime adds (experimental) Vite support, Web Workers support, and includes a --smol option to run in memory constrained environments (with a significant memory reduction shown off in the post).

Astro 2.9
The 'zero JS by default' framework adds experimental support for view transitions and more.

Neutralinojs v4.13.0
Lightweight cross-platform desktop app framework.

Remix 1.19
Modern full-stack JS framework.

Node.js v20.5.0 (Current)
CHALLENGE #89
πŸ‘6
What is the output?
Anonymous Quiz
24%
array
36%
object
35%
number
5%
string
πŸ‘12
So true πŸ˜‚
🀣35πŸ”₯1
CHALLENGE #90
What is the output?
Anonymous Quiz
75%
8
25%
9
πŸ‘9πŸ€”6πŸ”₯3
ESLint Reimagined: Creating a Linter from Scratch

Erick Wendel
❀4πŸ‘4πŸ€”1
❓ CHALLENGE #91
Please open Telegram to view this post
VIEW IN TELEGRAM
What is the output?
Anonymous Quiz
25%
0
17%
{}
31%
1
28%
true
πŸ€”20πŸ‘8πŸ”₯3❀1
🀣 A new module every minute
🀣28πŸ‘4πŸ”₯1