RealJS
  • Start Here
  • Learn JavaScript
    Start Learning
    Your Learning Plan →Your personalized JavaScript learning plan Learning Paths →Guided study plans for accelerated learning Tutorials →In-depth articles on JavaScript topics Courses →Step-by-step lessons that build a skill
    Get Help
    Mentor AI →NewYour personal JavaScript mentor
    Practice
    Coding Exercises →Write code and get instant feedback Quizzes →Check your learning progress
    Resources
    Reference →Concise definitions for JavaScript terms Browse Topics →Focus on a specific area or skill level Cheat Sheets →Key syntax and patterns at a glance
    Unlock All Content →Get unlimited access to everything on RealJS
  • Search
/
  • Join
  • Sign‑In

From Python Packages to JavaScript Modules: ESM and CommonJS (Quiz)

Stephen Gruppetta
From Python Packages to JavaScript Modules: ESM and CommonJS Stephen Gruppetta 08:00
Course Slides (.pdf) Sample Code (.zip)
Ask a Question
  • Contents
  • Discussion

Become a Member to take the quiz.

Become a Member to join the conversation.

Course Contents

Overview
91%
  • Welcome to the Three-Plant Heating Digest 01:57
  • Turning a Package Into a Folder of Modules 04:11
    Exercise: Give Asha One Place to Import the Parsers 08:00
    Importing Across the Package 09:00
    Finding Files Next to a Module 13:00
  • Sharing a Setting Between Modules 13:30
    Loading a Module Only When It's Needed 04:33
    Choosing a Module by Name 11:00
    Exercise: Load the Pool Plant's Controller 08:00
  • Reading CommonJS Code 13:00
    Using a CommonJS File in Your Project 04:49
    Exercise: Translate Halden's Service File 08:00
  • Porting the Three-Plant Digest 04:30
    Exercise: Finish the Three-Plant Digest 16:30
  • From Python Packages to JavaScript Modules: ESM and CommonJS (Quiz) 08:00
    From Python Packages to JavaScript Modules: ESM and CommonJS (Summary) 05:30

© 2026 RealJS ⋅ Privacy Policy