JavaScript library for determining appropriate platform-specific directories (port of Python appdirs)