News for hackers. Stuff that matters.
Re:Yarn – A new package manager for JavaScript by kcorbitt on Tuesday October 11, 2016 @06:54PM (#12689182)
Node's module system doesn't import dependencies into a global namespace. So the `x` required by `a` and the `x` required by `b` will have separate namespaces and won't conflict, or even know of each others' existence. There are pros and cons to this approach, but it definitely does work. Flow, at least, (and presumably Typescript) understands the module resolution logic and handles this very common situation without issue.

There are no comments on this comment yet.