@serverless-normalize/utils

Shared utilities for @serverless-normalize

Usage no npm install needed!

<script type="module">
  import serverlessNormalizeUtils from 'https://cdn.skypack.dev/@serverless-normalize/utils';
</script>

README

@serverless-normalize/utils

A collection of utility functions that can be shared across different providers.

API

toPromise(response: ServerResponse) => Promise

Overrides the .write() and .end() methods in ServerResponse to be able to intercept all messages written on the WritableStream.