open-index/open-npm huggingface dataset:
npm package: @reason-native-web/http
Description: A tiny framework for developing HTTP stuff in reason native. Includes a Fetch-inspired client and a abstractions over Httpaf and H2.
Latest version: 0.0.2

# @reason-native-web/http

A tiny framework for developing HTTP stuff in reason native. Includes a Fetch-inspired client and a abstractions over Httpaf and H2.

## Documentation

https://ulrikstrid.github.io/reason-native-web/reason-http/index.html

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Example

**Server:**

```ocaml
Http.Server.start(~context=(), (~request as _, ()) => {
    Http.Response.Ok.make();
})
|> Lwt_main.run;
```

Slightly larger example using ocaml-router: https://github.com/ulrikstrid/reason-native-web/blob/master/server_example/ServerExample.re

**Client:**

```ocaml
(* GET example *)

Http.Client.fetch("/hello-world");
```

```ocaml
(* POST example *)

Http.Client.fetch(
    ~meth=`POST,
    ~headers=[("Content-Type", "application/json")],
    ~body={|{"hello": "world"}|},
    "/hello-world,
)
```

## Thanks

A huge thanks goes out to @anmonteiro, some of the code is borrowed from his examples and then modified over time. And obviously nothing if this would have happened if it were not for his great work refining Httpaf and creating H2.
npm package: @reason-native-web/jose
Description: JOSE implementation in native Reason
Latest version: 0.3.0

# JOSE - JavaScript Object Signing and Encryption

JOSE implementation in ReasonML and OCaml

[![Build Status](https://dev.azure.com/strid/reason-jose/_apis/build/status/ulrikstrid.reason-jose?branchName=master)](https://dev.azure.com/strid/reason-jose/_build/latest?definitionId=39&branchName=master)

## Goals

This package aims to implement the JOSE specication.
The main usecase for JOSE is probably JWT singing and verification via JWKs.

## pre 1.0.0

Expect breaking changes on minor releases but patch should not be breaking.

I want to get feedback on both the API and implementation. Issues and PRs are more than welcome.
npm package: @reason-native-web/morph
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.6.1

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

## Sponsors

Thank you to [@imbsky](https://github.com/imbsky) for sponsoring my work on Morph
npm package: @reason-native-web/morph_base
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.3.6

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

## Sponsors

Thank you to [@imbsky](https://github.com/imbsky) for sponsoring my work on Morph
npm package: @reason-native-web/morph_client
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.1.1

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re
npm package: @reason-native-web/morph_graphql_server
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.6.1

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

## Sponsors

Thank you to [@imbsky](https://github.com/imbsky) for sponsoring my work on Morph
npm package: @reason-native-web/morph_server
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.1.1

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re
npm package: @reason-native-web/morph_server_base
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.3.6

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

## Sponsors

Thank you to [@imbsky](https://github.com/imbsky) for sponsoring my work on Morph
npm package: @reason-native-web/morph_server_http
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.3.6

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

## Sponsors

Thank you to [@imbsky](https://github.com/imbsky) for sponsoring my work on Morph
npm package: @reason-native-web/morph_server_https
Description: [![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)
Latest version: 0.3.6

# morph

[![Build Status](https://dev.azure.com/reason-native-web/morph/_apis/build/status/reason-native-web.morph?branchName=master)](https://dev.azure.com/reason-native-web/morph/_build/latest?definitionId=1&branchName=master)

A tiny framework for developing HTTP stuff in reason native using Httpaf and H2.

## Documentation

https://reason-native-web.github.io/

_The documentation is not as fleshed out as it should be, the repos is under heavy development._

## Build and run examples

```
esy install
esy build
esy examples
$(esy examples-path)/hello_world.exe
$(esy examples-path)/with_router.exe
$(esy examples-path)/simple_proxy.exe
```

## Example

**Server:**

```ocaml
let http_server = Morph_server_http.make();
Morph.start(~servers=[http_server], _request => Http.Response.Ok.make)
|> Lwt_main.run;
```

Slightly larger example using ocaml-routes: https://github.com/reason-native-web/morph/blob/master/examples/with_router.re

## Sponsors

Thank you to [@imbsky](https://github.com/imbsky) for sponsoring my work on Morph
npm package: @reason-native-web/oopen
Description: Open files esyly
Latest version: 1.0.1

# oopen - OCaml-open

[esy](https://github.com/esy/esy)ly open files, a verry thin wrapper around [ocaml-open](https://github.com/smolkaj/ocaml-open)

## Usage

Add this to your package.json/esy.json:

```json
{
  "devDependencies": {
    "@reason-native-web/oopen": "*"
  }
}
```

Then use `esy oopen your_file.html` to open a html file in your browser of choise.

## Usage with [odoc](https://github.com/ocaml/odoc)

```json
{
  "scripts": {
    "docs": "esy dune build @doc",
    "open-docs": "esy oopen #{self.target_dir}/default/_doc/_html/index.html"
  },
  "devDependencies": {
    "@reason-native-web/oopen": "*"
  }
}
```

Then run `esy docs && esy open-docs` to build and open the docs.