0.1.0 • Published 1 year ago
trash-rs v0.1.0
trash-rs
This is simple wrapper for trash Rust library.
Installation
yarn add trash-rs
npm install trash-sh
Usage
import { trash, trashAll } from 'trash-rs';
trash('/home/user/file.txt');
trashAll(['/Users/user/file.txt', '/Users/user/folder/']);