mac-trash

3.0.0 • Public • Published

mac-trash icon

Version Downloads Last commit Test Codecov Install size

Zero-dependency macOS CLI tool to move files to the Trash


Demo

mac-trash demo in the macOS Terminal

Installation

This module needs Node >=14.

Install with npm:

$ npm install mac-trash --global --production

Usage

$ trash somefile.txt /some/other/file.txt

Options

Show debug information:

$ trash --verbose /some/file.txt

Show contextual help:

$ trash --help

Show version:

$ trash --version

Changelog

This project uses semver.

Version Date Notes
3.0.0 2023-01-12 Drop Node 12 support
2.0.0 2022-01-08 Rework deletion method, update deps, update Node support (#1)
1.0.1 2020-11-15 Fix CLI initialization
1.0.0 2020-11-15 Initial version

License

This project is released under the MIT License.

Package Sidebar

Install

npm i mac-trash

Weekly Downloads

0

Version

3.0.0

License

MIT

Unpacked Size

9.08 kB

Total Files

6

Last publish

Collaborators

  • johansatge