Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just published an NPM package to help deal with this kind of thing for Electron apps and the like: https://www.npmjs.com/package/basedirs

Warning, its Windows support is all theorycraft so far (Travis CI + Windows is totally broken for Node projects right now). PRs welcome if anyone wants to give it a try.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: