0.1.0 • Published 1 year ago

trash-rs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago