Node.js 21 released
October 17, 2023
π We’ve mentioned some community efforts to create a mascot for Node recently, but the Node project itself has π¦ unveiled a Node.js mascot design contest on Twitter/X. You have until November 6 to submit your ideas. |
Don’t Block the Event Loop (or the Worker Pool) β βIf youβre writing anything more complicated than a brief command-line script, reading this should help you write higher-performance, more-secure applications.β Node.js Project |
Speeding Up the JS Ecosystem: The Barrel File Debacle β Marvin continues his tour through the world of JavaScript performance fixes with a look at how some innocent looking code can make tools run slower than they should. Test runners and many import cycle detection tools are most affected. Marvin Hagemeister |
Building a ‘PDF Chat’ with Node, OpenAI and ModelFusion β In modern AI circles, the idea of being able to use large language models (LLMs) to βchatβ with PDFs and similar reference docs is quite popular. This tutorial shows off the basics of creating such a system from reading PDFs with PDF.js, through to tokenization, and building a chat loop. Lars Grammel |
|
π Code & Tools |
PureImage: A Pure JS HTML Canvas 2D for Node.js β If you want a browser-like 2D canvas experience in Node but without any native dependencies, this is for you. You can then save the output to PNG or JPEG. (node-canvas is the long-standing popular choice in this same area but relies upon Cairo as a dependency.) Josh Marinacci |
Cronicle: Cron with a Web Front End β Describing itself as βa fancy cron replacementβ, Cronicle is a task scheduler and runner built in Node with a web-based UI. Joseph Huckaby |