Hacker News new | ask | show | jobs
by blubbi2 3874 days ago
Its install process is very different from the one npm uses. E.g. just look into the node_modules directory produced by npm vs the one produced by ied.

Also the way it wires up dependencies (using symlinks) has been called "non humane design" by npm... so I thought it would be easier to just start a new project... it's not a lot of code/logic needed there actually... :)

1 comments

npm v3 already uses the 'flat by default' design, so the node_modules folders aren't that different.
They are extremely different.

I made a quick comparison here: https://gist.github.com/alexanderGugel/a10ed5655d366875a280

Basically ied uses symlinks in order to resolve circular dependencies, while ied exploits the fact that require "falls back" in the directory structure.

Understood. Though I believe your comment (which compared ied with itself) should actually read:

> Basically ied uses symlinks in order to resolve circular dependencies, while npm exploits the fact that require "falls back" in the directory structure.

Yup. Thanks.