Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rescript/webapi

rescript-lang768MIT0.1.0-experimental-29b94b3

Experimental successor to rescript-webapi

rescript, webapi, mdn, dom, fetch

readme

NPM Version

experimental-rescript-webapi

Experimental successor to rescript-webapi

Getting started

Install the package using your favorite package manager:

npm i @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/