π The Saga of Google's Closure Compiler
Dan looks back at Googleβs Closure Compiler, a JavaScript transpiler Google built in 2004 and used most heavily in the pre-TypeScript era to reduce the size of JavaScript files, check types, and otherwise handle common pitfalls. A neat bit of JavaScript history.
DAN VANDERKAM
π One Thing Nobody Explained To You About TypeScript
The author makes a strong case for creating a separate
tsconfig.json
for each environment your code runs in: βToday, I write about one thing about configuring TypeScript that took me years to realize. Iβm sure youβre making the same mistake as I did.βARTEM ZAKHARCHENKO
π Tesseract.js 5.0: JavaScript OCR for 100+ Languages
A port of the C++-based Tesseract library used to extract text from images. v5.0 is a big deal as there are huge file size reductions resulting in a 50% decrease in runtime size, a similar reduction in memory use, and iOS 17 compatiblity.
TESSERACT TEAM
Β©οΈJS WEEKLY
Please open Telegram to view this post
VIEW IN TELEGRAM
π6β€2π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
π2
π€13π10β€7π€£4
Please open Telegram to view this post
VIEW IN TELEGRAM
π5π€4β€2
What is the output?
Anonymous Quiz
34%
{ a:1, b: 2, c: 3 }
25%
[2, 3]
36%
{ b: 2, c: 3 }
5%
[[βbβ, 2], [βcβ, 3]]
π12β€5π€£3π₯1π€1
Please open Telegram to view this post
VIEW IN TELEGRAM
π5π€3
What is the output of the above code?
Anonymous Quiz
63%
{ bar: 'hello '}, { bar: 'hello '}
26%
{ bar: 'hello '}, undefined
11%
{ bar: 'hello '}, Error
π€22π12π€©5β€2π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
π8
π€19β€5π5
Please open Telegram to view this post
VIEW IN TELEGRAM
π€6π2
π18π₯6β€5π€2
π Honey, I Shrunk the npm Package!
Compression sits under the hood of everything on the modern Web, including npm packages (distributed as gzipped tarballs). Could the standard gzip approach be showing its age in both speed and effectiveness? Jamie runs a package through a few alternatives and gives an update on efforts to modernize npmβs compression defaults.
JAMIE MAGEE
ASIDES:
- A variety of malicious 'typosquatting' packages on both npm and PyPI have been found to be stealing SSH keys from developers. Take care over what you're installing out there.
- π’ We recently mentioned a discussion around Node.js getting its own mascot. The discussion has continued with lots of new ideas thrown into the mix.
- Google Cloud SQL's Node.js connector is now generally available.
Β©οΈNODE.JS WEEKLY
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π2π₯2π€©2
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£5π3π₯1
π€20π€£9β€7π6π€©2π₯1 1
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£56π4β€2π₯1π€©1 1