sdk-javascript/examples/typescript-ex
Lance Ball b866edddd9
docs: update README and examples with new API (#138)
This commit modifies the README to show new API usage for the
`HTTPReceiver` and `CloudEvent` classes, and updates the examples
to use this as well.

Overall structure and content has been modified to look more like
the sdk-go README.

Fixes: https://github.com/cloudevents/sdk-javascript/issues/128

Signed-off-by: Lance Ball <lball@redhat.com>
2020-05-11 09:41:05 -04:00
..
src docs: update README and examples with new API (#138) 2020-05-11 09:41:05 -04:00
README.md Fix link to requestbin 2019-11-04 10:00:30 -03:00
package.json Set the version of sdk to 1.0.0 2019-11-06 11:22:04 -03:00
prettier.config.js src: add eslint configuration and npm script 2020-04-22 10:15:05 -04:00
tsconfig.json Typescript examples 2019-10-29 20:49:54 -03:00
tslint.json Typescript examples 2019-10-29 20:49:54 -03:00

README.md

Typescript Example

The types are available since v1.0.0

How To Start

Install and transpile:

npm install

Then, start

npm start

See your event payload here, at requestbin