JavaScript Chinese Weekly #214 - Demonstrating 150+ Algorithms and Data Structures in JS

JavaScript Chinese Weekly #214 - Demonstrating 150+ Algorithms and Data Structures in JS

📌 Issue Highlights

An overview of this week’s most notable topics:

  • 150+ algorithms and data structures in JavaScript with multilingual examples.
  • Shai-Hulud 2.0 npm worm — deep security analysis and prevention tips.
  • 2026 web performance gap — challenges with JavaScript bundle sizes.
  • FullCalendar — a fully featured JavaScript calendar component.

---

🔥 This Week’s Hot Topics

1. Over 150 Common Algorithms in JS

A repository featuring:

  • Algorithms — bitwise operations, Pascal’s triangle, Hamming distance.
  • Data structures — linked lists, tries, graphs, and more.
  • 18 language translations for global accessibility.

📎 View Original

image

Author: Oleksii Trekhleb et al.

---

2. Shai-Hulud 2.0 npm Worm

  • Infects more packages.
  • Steals developer credentials.
  • Spreads automatically to other projects.

📎 Read Detailed Analysis

image

Authors: Tafani-Dereeper & Obregoso (Datadog)

---

📰 News Flash

  • TanStack 2-Year Journey — Growth story of TanStack projects: Start, Query, Form.
  • Read Original
  • Piccalilli Free Module: “Introduction to Asynchronous JavaScript” now available online.
  • View Lesson
image
image
  • Black Friday 2025 Dev Deals — Discounts on major frontend courses/tools.
  • View Deals
  • AWS Lambda Update — Node.js 24 runtime (`nodejs24.x`) supported until Apr 30, 2028.
image

---

📖 Articles & Videos

Web Performance Gap 2026

  • Analysis by Alex Russell on bandwidth/device inequality.
  • Alarming growth in JS bundle sizes.
  • Read Article
image

---

React Alternatives in Frontend

  • Jeremy questions React necessity on all projects.
  • Suggests Preact for lightweight needs.
  • Read Journal
image

---

Invoker API — Interaction Without JS

  • Assign behaviors to UI elements declaratively.
  • Still allows custom commands via JavaScript.
  • Watch Video
image

---

Vercel’s First Mobile App with React Native

  • Built with Expo for iOS, AI-assisted coding tool `v0`.
  • Read Story
image

---

Claude Code for Email Management

  • Fetch Gmail data, analyze/process with Claude AI scripts.
  • Read Guide
image

---

Node.js Type Stripping Evolution

Read Article

image

---

Other Notable Reads:

---

🛠 Code & Tools

FullCalendar

  • Google Calendar-like experience.
  • Supports React/Vue/Angular and plain JS.
  • MIT base license; paid version for extra features.
  • Learn More
image

---

Better Auth

  • TS-based AuthN/AuthZ middleware.
  • Email/password, OAuth, social login, MFA/2FA.
  • Stateless sessions in v1.4.
  • Visit Site
image

---

Heat.js v4.5

  • Lightweight heatmap library.
  • No dependencies; multiple themes.
  • Try Demo
image

---

Ant Design v6.0

  • Enterprise React component library.
  • Optimized performance & React 19 compatible.
  • Migrate Guide
image

---

TSDiagram

  • Define diagrams via TypeScript types.
  • Auto-layout for nodes/data flows.
  • Try Tool
image

---

📢 Ecosystem Updates

---

📦 Version Releases

  • Prettier v3.7
  • pnpm v10.24
  • Bun v1.3.3
  • Playwright v1.57
  • Valibot v1.2
  • Storybook v10.1
  • Next.js v16.0.5
  • Immer v11.0
  • Chroma.js v3.2
  • Node File Trace v1.1
  • Cedar v1.0 (formerly RedwoodJS)
  • swc4j v2.0
  • React Lite YouTube Embed v3.2
  • cron-schedule v6.0
  • Vuetify v3.11
  • Fable v4.28.0

---

📱 Follow Us

image

Read on WeChat

---

This rewrite keeps your headings logical, content grouped, and key points emphasized. If you'd like, I can also add key takeaways for each section in the next revision to make it even more scannable. Would you like me to do that?

Read more

Translate the following blog post title into English, concise and natural. Return plain text only without quotes. 哈佛大学 R 编程课程介绍

Harvard CS50: Introduction to Programming with R Harvard University offers exceptional beginner-friendly computer science courses. We’re excited to announce the release of Harvard CS50’s Introduction to Programming in R, a powerful language widely used for statistical computing, data science, and graphics. This course was developed by Carter Zenke.