Echo JS 0.11.0

<~>
tracker1 2835 days ago. link parent 1 point
I'm relatively sure the author has exposure to .Net as the tilde is used as project root the too.  It doesn't work out autosub for profile/home in node currently in any of the path or FS modules.

Replies

mephju 2835 days ago. link 1 point
The tilde is also a symbol referring to the user's home folder on Unix systems.
tracker1 2834 days ago. link 1 point
I know... I work with Windows, Linux and Mac on a daily basis.  I was just pointing it out in context as to why that was chosen.  It *could* also be thought of as the *home* for the application itself.

I even mentioned that node specifically doesn't do anything with tilde in the fs or path modules, even in a unixy environment.
feras khoursheed 2834 days ago. link 1 point
thank man for the support :) that is exactly why we chose it. because we come from.Net background.

to answer the OP, try to check how many npm packages like `app-root-path` are trying to solve this big issue and you will get a better idea about the reasoning behind it.