promise-json-file-reader
Read and parse a File Object with mimetype application/json in browser.
File Object
Tag <input>
with type="file"
let the user choose a file from file system, and the user can access the selected file with the File API.
Install
$ npm install --save promise-json-file-reader
Usage as module
; const file = documentfiles0; ;
Usage with script tag
Copy file ./dist/promise-json-file-reader.js
in your project lib
directory.
const promiseJsonFileReader = windowpromiseJsonFileReader; const file = documentfiles0; ;
License
MIT © Riccardo Scalco