$ npm install skipper-disk --save
This module is part of the default configuration in Sails.
If you're using this module outside of Sails (e.g. Express or a vanilla Node.js server), make sure you have skipper itself installed as your body parser.
This module is bundled as the default file upload adapter in Skipper, so the following usage is slightly simpler than it is with the other Skipper file upload adapters.
In the route(s) / controller action(s) where you want to accept file uploads, do something like:
For more detailed usage information and a full list of available options, see the Skipper repo, especially the section on "https://github.com/balderdashy/skipper#uploading-files-to-disk".
To run the tests:
$ npm test