AI Workshop: learn to build apps with AI →
Other JavaScript Libraries
Popular JavaScript libraries and tools: jQuery, Axios, Moment.js, SWR, XState, and PeerJS.

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


JavaScript has a rich ecosystem of libraries and tools that extend the language’s capabilities. While modern JavaScript and browser APIs have reduced the need for some of these libraries, they remain important to understand—both for maintaining existing codebases and for solving specific problems more efficiently.

In this unit, we’ll explore several popular JavaScript libraries:

  • jQuery - The library that revolutionized DOM manipulation (now mostly historical)
  • Axios - A popular HTTP client for making API requests
  • Moment.js - Date manipulation made easy (with notes on modern alternatives)
  • SWR - React Hooks for data fetching
  • XState - State machines for predictable state management
  • PeerJS - Simplified WebRTC for peer-to-peer communication

Lessons in this unit:

0: ▶︎ Introduction
1: jQuery
2: Axios
3: Moment.js
4: SWR
5: XState
6: PeerJS