Adds an easier interface for working with file uploads and downloads in your Node.js/Sails app. Supports async/await.
Only supports Node 8 and up.
npm install sails-hook-uploads
var uploaded = await sails.uploadOne(inputs.myFile);
For more usage tips, see the Ration.io example app and tutorial course.
MIT
© 2017-present Rachael Shaw, Mike McNeil