Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

This package has been deprecated

Author message:

Deprecated

xdg-empty-trash

2.0.0 • Public • Published

xdg-empty-trash Build Status

Empty trash on Linux

Install

$ npm install --save xdg-empty-trash

Usage

const xdgEmptyTrash = require('xdg-empty-trash');
 
xdgEmptyTrash().then(() => {
    console.log('Trash successfully emptied!');
});

API

xdgEmptyTrash()

Empties the trash. Returns a promise that resolves nothing.

CLI

See the empty-trash CLI.

License

MIT © Kevin Mårtensson

Install

npm i xdg-empty-trash

DownloadsWeekly Downloads

2

Version

2.0.0

License

MIT

Last publish

Collaborators

  • avatar