Get the correct trash path on Linux according to the spec
$ npm install --save xdg-trashdir
const xdgTrashdir = ;;;xdgTrashdirall;
Returns a promise that resolves the path to the trash.
Get the trash path for a specific file.
Returns a promise that resolves to an array with all possible trash paths.
MIT © Kevin Mårtensson