Is a JS library for file management in a browser (chrome & edge) sandbox
$> npm install sanboxjs
Import in your app.js
import sandbox from 'sanboxjs'
Push multiple files into browser sandbox
var sbx = new sandbox();
var uploadDir = 'my/uploads/'
sbx.writeFile(files,uploadDir)
Download a file from the sandbox
sbx.downloadFile('my/uploads/my-file.txt');
Clone from GitHub
git clone https://github.com/FNNDSC/sandboxjs
cd sandboxjs
Parcel is a tool to bundle and serve code. Install parcel-bundler as a dev dependency:
npm install parcel-bundler@1.12.5 --save-dev
Now, verify that your project is working :
$npm run dev
Then navigate to http://localhost:1234/ with your browser (currently Chrome & Edge only).