@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'
});

Readme

Keywords

none

Package Sidebar

Install

npm i @jst_htet/file-picker

Weekly Downloads

16

Version

1.0.8

License

ISC

Unpacked Size

5.13 kB

Total Files

6

Last publish

Collaborators

  • jst_htet