Kotlin-Multiplatform-AppDirs icon indicating copy to clipboard operation
Kotlin-Multiplatform-AppDirs copied to clipboard

What about JS support for node on Windows/OS X/Linux?

Open nbransby opened this issue 1 year ago • 2 comments

Currently I have to use https://github.com/dirs-dev/directories-jvm for jvm and https://github.com/codingjerk/appdirsjs for node but just realised they return different locations for the same operating system

nbransby avatar Apr 09 '24 03:04 nbransby

I have minimal experience on the web site of things, I am open to contributions for a web implementation

Syer10 avatar Apr 09 '24 13:04 Syer10

I have actually found https://www.npmjs.com/package/env-paths which is much more aligned with the output of https://github.com/dirs-dev/directories-jvm, just leaving that here in case its useful for someone or serves as inspiration for a contribution to your lib

nbransby avatar Apr 09 '24 14:04 nbransby

I did an attempt and got something working, feel free to test it and let me know if there are any issues! I still am not familiar with JS so any PRs would be appreciated.

Syer10 avatar Jun 19 '25 23:06 Syer10