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

/xdg-empty-trash/

    Package Sidebar

    Install

    npm i xdg-empty-trash

    Weekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • kevva