import { Application } from '@feathersjs/express'; import blobService from 'feathers-blob'; import fs from 'fs-blob-store'; import Bluebird from 'bluebird'; import _ from 'lodash'; const blobStorage = fs('./uploads'); const uploads = blobService({ Model: blobStorage }); export default (app: Application): void => { app.use('/uploads', uploads) };