workers-res

0.0.3 • Public • Published

workers-res

Cloudflare Workers bindings for ReScript, WIP

Example

include Workers.Make({
  type env = unit

  let handlers = Workers.Handlers.make(
    ~fetch=(_, _, _) => {
      "Hello, world!"
      ->Webapi.Fetch.Response.make
      ->Js.Promise.resolve
    },
    ()
  )
})

Features

  • [x] Module format Worker bindings
  • [x] KV
  • [ ] R2
  • [ ] DO
  • [ ] HTMLRewriter
  • [ ] ???

Readme

Keywords

none

Package Sidebar

Install

npm i workers-res

Weekly Downloads

1

Version

0.0.3

License

none

Unpacked Size

11.7 kB

Total Files

8

Last publish

Collaborators

  • xiniha