Skip to content

jopemachine/read-filepath-from-clipboard

Repository files navigation

read-filepath-from-clipboard

NPM version npm download total license PR's Welcome GitHub issues

Read file paths from clipboard, working on cross-platform

demo1

demo2

Usage

Just drag and copy files and execute function.

Function returns selected copied file's paths.

API

sync()

Returns file path array.

If file path not exist in clipboard, return empty array.

async()

Returns file path array.

If file path not exist in clipboard, return empty array.

About

Read file paths from clipboard, working on cross-platform

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks