Skip to content

rescript-lang/experimental-rescript-webapi

Repository files navigation

NPM Version

experimental-rescript-webapi

Experimental successor to rescript-webapi

Getting started

Install the package using your favorite package manager:

npm i -D @rescript/webapi@experimental

and add @rescript/webapi to your rescript.json:

{
  "bs-dependencies": [
+    "@rescript/webapi",
  ],
  "bsc-flags": [
+    "-open WebAPI.Global"
  ]
}

Documentation

More information can be found on https://rescript-lang.github.io/experimental-rescript-webapi/