JavaScript
32K subscribers
1.04K photos
10 videos
33 files
722 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
CHALLENGE #33
What is the output?
Anonymous Quiz
42%
1, undefined
9%
Error
25%
2, 2
24%
1, 2
πŸ‘11❀4
CHALLENGE #34

Samvel
What is the output?
Anonymous Quiz
17%
0
47%
2
24%
true
13%
false
❀5πŸ‘5πŸ€”2
Node.js Web Development (2020)

Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications with AWS and Docker with this updated fifth editionKey Featuresβ€’ Learn ...

David Herron
πŸ”₯7❀4πŸ‘3
CHALLENGE #35
πŸ”₯3
Micro State Management with React Hooks (2022)

Explore global state management and select the best library for your applicationKey FeaturesUnderstand the essential concepts and features of micro state managementDiscover solutions to common problems ...

Daishi Kato
πŸ”₯5❀3
πŸ—ž Issue 11 / 06.06.2023


πŸ“„qnm: A CLI Tool to Look Into `node_modules`

If you’ve been into a node_modules folder and been overwhelmed, this tool lets you dig around with extra guidance as to what is what. You can use fuzzy search to find specific things, and also see which modules are using the most space (you could try that right now with `npx qnm doctor`).

RAN YITZHAKI


πŸ’‘ Don't forget about the always handy NPKILL for if you actually want to clear away those node_modules nightmares.. 😁


πŸ“„ Hands On with Node's Built-In Test Runner

The built-in test runner became stable with the release of Node 20 and a lot of folks are now figuring out how to use it in their workflows. Phil walks through it with an easily understood and complete example here.

PHIL NASH


πŸ›  It must be the week for testing, as endpts has shared a thorough built-in test runner primer too, and NearForm's RΓ΄mulo Vitoi takes it a step further by showing us how to build a custom test reporter.


©️JS WEEKLY
πŸ‘3❀2
IN BRIEF

πŸ“ƒSomehow we missed it, but Node.js recently turned 14 years old with the initial release being on May 27, 2009.

πŸ“ƒAs of June 1, Node.js 19 is now 'end of life' and will not receive further updates.

πŸ“ƒOhm, Pohl and Boes published an academic paper titled You Can Run But You Can't Hide: Runtime Protection Against Malicious Package Updates for Node.js. They approached the long-standing issue around supply chain security with a technique to automatically limit the capability of packages at runtime with 90% success and little overhead.

πŸ“ƒAlternative server-side JavaScript runtime Bun has added an interesting 'macro' feature to its new bundler. This might catch on.

MDN's reference pages on regular expressions in JavaScript have been substantially improved.
πŸ‘2
πŸ›  Code & Tools


πŸ”© bundlejs: npm Package Bundle Size Checker

A browser-based tool that can treeshake, bundle, minify, and compress (`gzip` and `brotli`) packages to show you what their weight impact is. It runs entirely in the browser, too, using the WebAssembly build of esbuild.

OKIKI OJO


πŸ”© Prisma-Lint: A Linter for Prisma Schema Files

The team behind this tool has dozens of schema files to stay on top of, so they built this to maintain a consistent style and ensure they have the proper indices in place.

LOOP PAYMENTS


πŸ”© copy-paste: Cross-Platform Clipboard Copy/Paste

Wraps around different utilities for each operating system (macOS, Linux, BSD, and Windows).

XAVI


πŸ”© DOT Classes: TypeScript Library to Model Data Transfer Objects

Designed to model data transfer objects in HTTP JSON APIs using class-based schemas that serialize/deserialize, static types by default, custom validation support, and an API that may feel familiar if you use OpenAPI and JSON Schema.

ROBERT SINGER
πŸ‘4
CHALLENGE #36
🀣8
What is the output?
Anonymous Quiz
31%
undefined
30%
10
24%
11
14%
4
❀9🀣7
CHALLENGE #37
πŸ”₯7❀3
Share your fascinating quizzes with the Javascript community! πŸ₯·
❀7πŸ€”4
πŸ—ž Issue 12 / 08.06.2023


πŸ“„ Polywasm: A Polyfill to Run WASM in JS Environments

The creator of esbuild is back with something fresh: a polyfill that uses live translation to be able to run .wasm files in JS environments that either lack a WebAssembly implementation or have it disabled. You can see how it performs in this special version of the esbuild playground.

EVAN WALLACE


πŸ“„ Announcing TypeScript 5.1

This release of the statically typed JavaScript superset is a gentle 'quality of life' step forward rather than a featureful extravaganza, but we get support for linked editing of JSX tag names, namespaced JSX attributes, the ability to have unrelated types for getters and setters, and undefined`-returning functions no longer need an explicit `return.

DANIEL ROSENWASSER (MICROSOFT)


©️JS WEEKLY
❀8
⚑️ IN BRIEF

πŸ“œ Douglas Crockford, of JS: The Good Parts fame, 🎬 is back pointing out JavaScript is a 'smelly' language and 'it's time for the next thing.' 😬 ⭐️

πŸ“œ MDN's reference pages on regular expressions in JavaScript have been substantially improved.

πŸ“œ From Apple's WWDC this week comes 🎬 a handy presentation on Safari's DevTools, plus a barrage of news about Safari enhancements around the 'spatial web', JPEG XL support, the popover API, offscreen canvas support, local storage policies, extra JS regex features, and more.

πŸ“œ Emma Twersky shares everything Angular related from the recent Google I/O 2023 event.
πŸ”₯3