libj-browser-file-api-support
v1.3.0
Published
Part of libj tools
Downloads
4
Readme
libj-browser-file-api-support
Part of libj tools
Checks if current browser supports file api. You can use supportsFileInput
or supportsFileApi
to that end.
Usage (npm)
npm install libj-browser-file-api-support
import { browserFileApiSupport } from 'libj-browser-file-api-support'
See test/test.html and test/test.js for an example
Test
- Run this in a separate command line to start node server
node server.js
- Run one of the following to re-create bundles
npm run dev
npm run dev:watch
- Navigate to http://localhost:3000
Build
npm run build
npm run build:watch