LaunchCode logo
  1. Contents
  2. 13. Modules

13. ModulesΒΆ

  • 13.1. What are Modules?
    • 13.1.1. One Possible Scenario
    • 13.1.2. Why Use Modules
  • 13.2. Require Modules
    • 13.2.1. Where Do We Find Modules?
    • 13.2.2. How Does Node Know Where to Look?
      • 13.2.2.1. User Created Modules
      • 13.2.2.2. Other Modules
    • 13.2.3. Package.json File
    • 13.2.4. Check Your Understanding
  • 13.3. NPM
    • 13.3.1. NPM Registry
    • 13.3.2. NPM Command Line Interface (CLI)
    • 13.3.3. NPM CLI With repl.it
  • 13.4. Exporting Modules
    • 13.4.1. Starter Code
    • 13.4.2. Exporting a Single Function
    • 13.4.3. Exporting Multiple Functions
      • 13.4.3.1. Try It
    • 13.4.4. What If
    • 13.4.5. Check Your Understanding
  • 13.5. Wrap-up
  • 13.6. Exercises: Modules
    • 13.6.1. Export Finished Modules
    • 13.6.2. Code & Export New Module
    • 13.6.3. Import Required Modules
    • 13.6.4. Finish the Project
    • 13.6.5. Sanity check!
  • 13.7. Studio: Boosting Confidence
    • 13.7.1. You CAN
    • 13.7.2. Discussion
    • 13.7.3. Helpful Tips
    • 13.7.4. Other Resources
  • ← 12.8. Studio: Objects & Math
  • 13.1. What are Modules? →

Back to top