Commit Graph

8 Commits

Author SHA1 Message Date
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
Grant Timmerman 05ecbdea4f
feat: use CloudEvents not cloudevents everywhere (#101)
Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
2020-04-30 16:14:13 -07:00
Lance Ball 3f238a0124
src: add eslint configuration and npm script
Automatically fixed > 2000 issues. The remaining 200+ issues need
to be fixed by hand. Additionally, all strings are double quotes
which is not typically standard and I wonder about fixing that too.

Signed-off-by: Lance Ball <lball@redhat.com>
2020-04-22 10:15:05 -04:00
Fabio José a7e8354d56 Set the version of sdk to 1.0.0
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-11-06 11:22:04 -03:00
Fabio José c35af5b66e Fix link to requestbin
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-11-04 10:00:30 -03:00
Fabio José 807d60462b ts Example using binary receiver
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-11-04 09:54:16 -03:00
Fabio José 0d8c8a13ae ts example with binary emitter
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-10-29 21:43:21 -03:00
Fabio José b4b04963b9 Typescript examples
Signed-off-by: Fabio José <fabiojose@gmail.com>
2019-10-29 20:49:54 -03:00