1.0.20 • Published 4 years ago

aws-sam-server v1.0.20

Weekly downloads
2
License
ISC
Repository
-
Last release
4 years ago

aws-sam-server

Overview

AWS SAM Local Debug Server.

How To Install

yarn add aws-sam-server

Create Your SAM App

$ brew upgrade aws-sam-cli
$ sam init

How To Use

import { createServer } from 'aws-sam-server';

const port = 3456;
const fullpath = `${__dirname}/template.yaml`;

const server = await createServer(fullpath);
const listen = promisify(server.listen.bind(server));
await listen(port);
curl http://localhost:3456/hello
1.0.19

4 years ago

1.0.20

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.9

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.2

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago