5.0.2 • Published 8 months ago

@merrymake/service v5.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Typescript Service Library for Merrymake

This is the official Typescript service library for Merrymake. It defines all the basic functions needed to work with Merrymake.

Usage

Here is the most basic example of how to use this library:

import {
  merrymakeService,
  MIME_TYPES,
  replyToOrigin,
  Envelope,
} from "@merrymake/service";

async function handleHello(payloadBuffer: Buffer, envelope: Envelope) {
  let payload = payloadBuffer.toString();
  replyToOrigin(`Hello, ${payload}!`, { contentType: MIME_TYPES.txt });
}

merrymakeService({
  handleHello,
});

Tutorials and templates

For more information check out our tutorials at merrymake.dev.

All templates are available through our CLI and on our GitHub.

5.0.2

8 months ago

5.0.1

11 months ago

4.0.0

1 year ago

3.1.0

1 year ago

3.0.5

2 years ago

3.0.4

2 years ago