Plus Node.js v20, TypeScript 5.1 beta, and thinking back to Deluxe Paint. |
Introducing npm Package Provenance — As stewards of the official npm registry, GitHub has been keen to improve its security. As of this week, if you build npm packages through GitHub Actions, you can publish the provenance of a package which gives users a way to verify which repo a package was built from and how. The folks at Socket took a closer look at how it works. DeHamer and Harrison (GitHub) |
New Course by Kyle Simpson: Practical Problem Solving with Algorithms — Walk through four fun challenges with Kyle in this new video course. You'll learn how to apply algorithms with techniques like recursion, traversals, and acyclic paths, cover memoization to avoid garbage collection, and come away writing more performant code. Frontend Masters |
Node.js v20 (Current) Released — Released just two days ago, the newest major version of Node.js includes a variety of interesting updates, including: An experimental permissions model. This is a feature Deno has at its core but now you can restrict access to certain capabilities in Node too. V8 11.3 (which includes Regexp /v flag support) The node:test test runner goes stable. Official support for Windows on ARM64. Improvements to the single executable packaging mechanism. The Node.js Team |
As per policy, Node v20 will become the main LTS release this October. |
IN BRIEF: TypeScript 5.1 Beta has been released which allows undefined-returning functions to have no return statement, to have unrelated types for get and set accessor properties, namespaced attribute names when using JSX, and more. The React core team appears to have been affected by Meta's latest round of layoffs (as has that of Relay), though Dan Abramov recently noted Meta's continued investment into the ecosystem. |
RELEASES: Shoelace 2.4 ↳ Popular library of well designed Web components. Node.js v18.16.0 (LTS) Gatsby 5.9 |
Passkeys: What and Why? — The author has been experimenting with passkeys and the associated WebAuthn API that opens them up to the Web. A primer for an increasingly common security approach. Neal Fennimore |
Integrating React Flow and the Web Audio API — React Flow is a component for building node-based editors and interactive diagrams, which makes it well suited for building audio signal chains. There’s a lot of depth here, some nice examples, and these techniques could prove useful for a lot of other use cases. Hayleigh Thompson |
Ways to Create an Enum in JavaScript — An enum is a set of named constants. Plain objects, frozen objects, proxied objects or a class-based approach provide some ways to create enums in JavaScript. Dmitri Pavlutin |
Deno vs. Node: No One is Ready for the Move — Deno has a lot going for it as an alternative to Node, but Node has time, maturity and a huge, established userbase on its side (and continues to develop, as seen with this week's Node v20). Piumi Liyana Gunawardhana (Honeypot) |
instant.page is another well known option in this space. |
Iconoir: 1300+ Open Source SVG Icons — A vast array of clean and simple icons, complete with ways to quickly integrate them into React, React Native, Figma, and other apps – or just using CSS, if you prefer. Luca Burgio |
<relative-time> Element 4.3 ↳ Web component extension of <time> Fable 4.1 ↳ F# to JavaScript/TypeScript compiler. useHotkeys 4.4 ↳ React hook for keyboard shortcuts. AdminJS 7.0 – Admin panel for Node webapps. lowdb 6.0 – Simple, local JSON database. imaskjs 6.6 – Vanilla JS input masking. CKEditor 5 37.1 – Rich text editor framework. |
Find JavaScript Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now. Hired |
🧑💻 Got a job listing to share? Here's how. |
|
DPaint JS: A Deluxe Paint-Inspired Image Editor — Sometimes we like to link to impressive projects built with JavaScript, and if you were ever into the Commodore Amiga, you'll love this one. It’s a Web-based image editor inspired by Deluxe Paint, itself a hugely inspirational graphics editing tool from 1980s. Now we’re just waiting for a NeoPaint clone.. :-) Steffest | |