0.0.3 • Published 5 years ago

gcf-express-multipart-stream v0.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

Create readable stream from req.rawBody

For graphql-upload compatibility with Google Cloud Functions, but might be useful with other express middlewares

const gcfMultipartStream = require('gcf-express-multipart-stream')
app.use(gcfMultipartStream)
app.use(
  '/graphql',
  graphqlUploadExpress({ maxFileSize: 10000000, maxFiles: 10 }),
  graphqlHTTP({ schema })
)
exports.upload = app

gcloud beta functions deploy upload --trigger-http

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago