@jst_htet/file-picker
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Browser plugin for picking file

import { pickFile } from '@jst_htet/file-picker';

// single file
const [err, f] = await pickFile();

// multiple files
const [err, farr] = await pickFile({
    multiple: true,
    accept: '.jpg,.gif'
});

/@jst_htet/file-picker/

    Package Sidebar

    Install

    npm i @jst_htet/file-picker

    Weekly Downloads

    1

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    5.13 kB

    Total Files

    6

    Last publish

    Collaborators

    • jst_htet