read-filepath-from-clipboard
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

read-filepath-from-clipboard

Read file paths from clipboard, working on cross-platform

demo

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.

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i read-filepath-from-clipboard

    Weekly Downloads

    0

    Version

    0.0.6

    License

    MIT

    Unpacked Size

    78.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • jopemachine