Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenpack/cryptoserviceworker
Cloudflare Service Worker Example
https://github.com/stevenpack/cryptoserviceworker
Last synced: 28 days ago
JSON representation
Cloudflare Service Worker Example
- Host: GitHub
- URL: https://github.com/stevenpack/cryptoserviceworker
- Owner: stevenpack
- License: mit
- Created: 2018-03-23T23:17:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-30T01:59:17.000Z (over 5 years ago)
- Last Synced: 2024-08-03T03:03:37.772Z (4 months ago)
- Language: TypeScript
- Size: 157 KB
- Stars: 7
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#CryptoServiceWorker
Source for [my post on the Cloudflare blog](https://blog.cloudflare.com/cryptocurrency-api-gateway-typescript-workers/).
I build a mini http request routing and handling framework, then use it to build a gateway to multiple crypto API providers. My point here is that in a single file, with no dependencies, you can quickly build prettty sophisticated logic and deploy fast and easy to the Edge. Furthermore, using modern Typescript with async/await and the rich type structure, you also write quite clean, async code.