LaunchCode logo
  1. Contents
  2. 13. Modules

13. ModulesΒΆ

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

Back to top