0.1.0 • Published 2 years ago

trash-rs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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/']);
0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago