- Copy the file 'multer-storage-hashing.ts' to your development directory.
- Import the file in your typescript of choice.
- Now you can initialize the multer storage:
Example:
const storage = new MulterStorageHashing({
// ... optional storage options
});
const upload = multer({storage: storage});