What does this module do?
See original GitHub issueForgive me for a potentially elementary question, but I saw this module in use in the wild and couldn’t figure out what it was for other than to satisfy linting errors. Coming upon the README
didn’t offer much more on the subject, so I thought I’d ask. And suggest perhaps putting the “why” in the README
?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:6 (3 by maintainers)
Top Results From Across the Web
What is a module in software, hardware and programming?
A module is a distinct assembly of components that can be easily added, removed or replaced in a larger system. Generally, a module...
Read more >What is a Module? - Definition from Techopedia
A module is a software component or part of a program that contains one or more routines. One or more independently developed modules...
Read more >Modules, introduction - The Modern JavaScript Tutorial
A module is just a file. One script is one module. As simple as that. Modules can load each other and use special...
Read more >Engine Control Module Overview - Counterman Magazine
The Engine Control Module (also called the Powertrain Control Module or PCM) is the brains of the engine management system. It controls the...
Read more >What Does an Electronic Control Module Do? - It Still Runs
The electronic control module receives data via dozens of sensors in the car's electrical systems and performs calculations to determine such factors as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh wow, I’ve been using
jsdom-global
for that. This sounds much simpler! Thanks for the explanation. Do you think it’s worth adding a note similar to your response to the readme? Or do most others get it?@ndugger
I think this module is only for exposing browser globals that can be “mocked” in node. A library can import this library so that the library can be tested in both a browser and nodejs and phantomjs, etc.