xdg-basedir : Get XDG Base Directory paths. You can installing xdg-basedir npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install xdg-basedir $ sudo npm install -g xdg-basedir
If want to update the xdg-basedir package execute the command as below,
$ sudo npm update xdg-basedir
Update package globally,
$ npm install -g xdg-basedir
$ sudo git clone https://github.com/rektide/xdg-basedir.git
$ sudo npm install -g ./xdg-basedir
xdg-basedir@3.0.0 /usr/lib/node_modules/xdg-basedir
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall xdg-basedir
| Package Name | xdg-basedir |
| Version | 3.0.0 |
| Description | Get XDG Base Directory paths |
| Released Date | 2017-02-13T09:32:24.818Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/xdg-basedir/tutorial |