Cutting JavaScript into two: trick or treat?

October 31, 2024 By Mark Otto Off

Python Jumps to #1 on GitHub Over JavaScript, But… β€” GitHub Universe took place this week, flooding us with data about how folks are using the platform. Of interest to those on social media was that Python has taken JavaScript’s #1 language crown, though many argued that TypeScript (now #3) made an impact here. In positive news, JS still ranks first for code pushes alone and there’s been a 15% jump in npm package consumption in the past year.

GitHub

πŸŽ‰ In other GitHub news, their Copilot AI coding tool can now use alternative LLMs like Gemini and Claude, and GitHub Spark is a new AI-powered tool for rapidly creating and deploying small apps.

Implementing Clean Architecture in Next.js β€” Learn how to make projects testable and debuggable, independent of UI, framework, database, and external dependencies with the concept of Clean Architecture. Join us live on November 4th.

Sentry

πŸ€” You could argue TypeScript is already that second language..?

πŸ“’ Articles & Tutorials

How We Shrunk Our JavaScript Monorepo Git Size by 94% β€” And by β€œwe”, the author means Microsoft, which had an extremely large 178 gigabyte JavaScript monorepo on its hands – big enough that many employees had problems cloning it at all. Jonathan tells the full story here.

Jonathan Creamer

HTML Form Validation is Heavily Underused β€” An exploration of the β€œpowerful validation mechanisms” of HTML forms, opining that they’re underused, and proposing why that lack of utilization may be.

everdimension

πŸ“„ Node.js, Pipes, and Disappearing Bytes – If piping a Node app’s output to another command, mysterious problems can arise.. Sam Lijin

πŸ“„ Introducing the New Svelte CLI Tool: sv Ben McCann

πŸ›  Code & Tools

Fraction.js: Library for Working with Rational Numbers β€” The imprecise representation of floating point numbers can lead to all sorts of problems, so if you’re working with fractions at all, you might want a little more precision, which Fraction.js offers.

Robert Eisele

πŸ”Š WebAssembly Audio Decoders β€” Targeting both browser and Node.js use cases, this is a collection of WASM-powered audio decoding libraries for formats like MPEG I/II/III, FLAC, Ogg Opus, Ogg FLAC, Opus, and Ogg Vorbis.

Ethan Halsall

  • πŸ“Ί YouTube.js 11.0 – Unofficial JS client for YouTube’s private API.

  • Serverless Express 4.16 – Run Express.js on AWS Lambda, API Gateway, Lambda@Edge, etc. Now supporting Express 5 too.

  • Execa 9.5 – Powerful process execution library for Node. When redirecting stdout or stderr to a file, you can now optionally append rather than replace.

  • MUI X 7.22 – Popular React component suite. Now with server-side support for Data Grid row grouping.

  • πŸ—“οΈ react-calendar 5.1 – The ‘ultimate’ calendar for your React app.

  • πŸ“· VisionCamera 4.6 – Advanced camera control for React Native.

  • Elliptic 6.6 – Plain JS elliptic curve cryptography implementation.

  • Acorn 8.14 – Small, fast, JavaScript-based JavaScript parser.

  • Strapi 5.2 – Popular Node.js headless CMS.