ARTICLES & TUTORIALS
π A Guide to Visual Regression Testing with Playwright
The Playwright browser control library can form the basis of an end-to-end testing mechanism all written in JavaScript, and comparing the visual output of tests can show where things are going wrong.
DIMA IVASHCHUK (LOST PIXEL)
π Benchmarking a 'Compiled' Node vs Bun App
The latest release of Bun (also above) has the ability to compile apps into a single executable (something Node 20 added too, though the author uses Vercelβs pkg instead). This isnβt a particularly insightful benchmark, but does provide a data point.
DECODE
π Server-Sent Events with Node
Server-Sent Events (SSE) enable a web server to send real-time updates to the client but without the two-way connection overhead of WebSockets.
ENDPTS TEAM
π A Guide to Visual Regression Testing with Playwright
The Playwright browser control library can form the basis of an end-to-end testing mechanism all written in JavaScript, and comparing the visual output of tests can show where things are going wrong.
DIMA IVASHCHUK (LOST PIXEL)
π Benchmarking a 'Compiled' Node vs Bun App
The latest release of Bun (also above) has the ability to compile apps into a single executable (something Node 20 added too, though the author uses Vercelβs pkg instead). This isnβt a particularly insightful benchmark, but does provide a data point.
DECODE
π Server-Sent Events with Node
Server-Sent Events (SSE) enable a web server to send real-time updates to the client but without the two-way connection overhead of WebSockets.
ENDPTS TEAM
π5
RELEASES / UPDATES
Mongoose 7.2
MongoDB object modelling library.
Nodejs SQL Parser 4.7
Parse SQL into syntax trees.
Eta (Ξ·) 2.2
Embedded JS template engine.
Ts.ED 7.29
TypeScript framework on top of Express.
zip-it-and-ship-it 9.6
Prepare Node Lambda functions for deployment.
AdminJS 7.0.4
Admin panel for Node-based apps.
rimraf 5.0.1
node-sass 9.0
Still deprecated, but adds Node.js 20 support.
Axios Cache Interceptor 1.1
Mongoose 7.2
MongoDB object modelling library.
Nodejs SQL Parser 4.7
Parse SQL into syntax trees.
Eta (Ξ·) 2.2
Embedded JS template engine.
Ts.ED 7.29
TypeScript framework on top of Express.
zip-it-and-ship-it 9.6
Prepare Node Lambda functions for deployment.
AdminJS 7.0.4
Admin panel for Node-based apps.
rimraf 5.0.1
rm -rf
util for Node.node-sass 9.0
Still deprecated, but adds Node.js 20 support.
Axios Cache Interceptor 1.1
π1
CODE & TOOLS
π©Better SQLite3 8.4: Fast and Simple SQLite3 Library
With good docs too. Supports a lot of SQLite specific functionality, has a synchronous API that boasts better concurrency than an async one (?) and worker thread support. v8.4 updates it to SQLite v3.42.0 standard.
JOSHUA WISE
π© ts-sql-query: Type-Safe SQL Query Builder
Want to build dynamic SQL queries in a type-safe way with TypeScript verifying queries? This is for you. Supports numerous SQL-based database systems and isnβt an ORM itself. (Comes from a direct recommendation from a reader who uses it.)
JUAN LUIS PAZ ROJAS
π© HyperExpress 6.7: High Performance Server Powered by uWebSockets.js
Aims to be a simple yet performant HTTP and WebSocket Server.
KARTIK
π©Better SQLite3 8.4: Fast and Simple SQLite3 Library
With good docs too. Supports a lot of SQLite specific functionality, has a synchronous API that boasts better concurrency than an async one (?) and worker thread support. v8.4 updates it to SQLite v3.42.0 standard.
JOSHUA WISE
π© ts-sql-query: Type-Safe SQL Query Builder
Want to build dynamic SQL queries in a type-safe way with TypeScript verifying queries? This is for you. Supports numerous SQL-based database systems and isnβt an ORM itself. (Comes from a direct recommendation from a reader who uses it.)
JUAN LUIS PAZ ROJAS
π© HyperExpress 6.7: High Performance Server Powered by uWebSockets.js
Aims to be a simple yet performant HTTP and WebSocket Server.
KARTIK
β€6π2
What is the output?
Anonymous Quiz
11%
3, 1, 4, 5, 2
40%
1, 5, 4, 3, 2
18%
1, 4, 3, 5, 2
31%
1, 4, 5, 3, 2
π7π₯6π€£2
π Issue 8 / 26.05.2023
π DeviceScript: TypeScript for Tiny Thingamabobs
DeviceScript is a new Microsoft effort to take the TypeScript experience to low-resource microcontroller-based devices. Itβs compiled to a custom VM bytecode which can run in such constrained environments. (A bit like Goβs TinyGo.) Itβs aimed at VS Code users but thereβs a CLI option too.
MICROSOFT
π Deno 1.34: Now deno compile Supports npm Packages
Deno isnβt Node, but it increasingly likes to wear a Node-shaped costume. This release focuses on npm and Node compatibility and Denoβs
THE DENO TEAM
Β©οΈJS WEEKLY
π DeviceScript: TypeScript for Tiny Thingamabobs
DeviceScript is a new Microsoft effort to take the TypeScript experience to low-resource microcontroller-based devices. Itβs compiled to a custom VM bytecode which can run in such constrained environments. (A bit like Goβs TinyGo.) Itβs aimed at VS Code users but thereβs a CLI option too.
MICROSOFT
π Deno 1.34: Now deno compile Supports npm Packages
Deno isnβt Node, but it increasingly likes to wear a Node-shaped costume. This release focuses on npm and Node compatibility and Denoβs
compile
command (for turning projects into single binary executables) now supports npm packages too which opens up a lot of use cases.THE DENO TEAM
Β©οΈJS WEEKLY
π5
ARTICLES & TUTORIALS
π Demystifying Tupper's Formula
Tupperβs self-referential formula is a formula that, when plotted, can represent itself. Confused? Luckily Eli shows us how simple the concept is and how to use JavaScript to render your own.
ELI BENDERSKY
π An Introduction to Web Components
A practical and straightforward introduction to using the custom element API now supported in all major browsers to create a basic tabbed panel.
MOHAMED RASVI
π¬ Why React is Here to Stay
A rebuttal of sorts to Adam Elmoreβs video from two weeks ago: π¬ Iβm Done with React.
JOSCHA NESKE
π Demystifying Tupper's Formula
Tupperβs self-referential formula is a formula that, when plotted, can represent itself. Confused? Luckily Eli shows us how simple the concept is and how to use JavaScript to render your own.
ELI BENDERSKY
π An Introduction to Web Components
A practical and straightforward introduction to using the custom element API now supported in all major browsers to create a basic tabbed panel.
MOHAMED RASVI
π¬ Why React is Here to Stay
A rebuttal of sorts to Adam Elmoreβs video from two weeks ago: π¬ Iβm Done with React.
JOSCHA NESKE
π3π₯3β€1
π9π€5
π€9β€5
π€10π€£8
Fullstack React: The Complete Guide to ReactJS and Friends
Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...
Anthony Accomazzo, Nate Murray, Ari Lerner
Stop wasting your time learning React with incomplete and confusing tutorials. There are so many incorrect, confusing, and out-of-date blog articles One tutorial says one thing and another says something completely different. ...
Anthony Accomazzo, Nate Murray, Ari Lerner
β€11π4