File tree 2 files changed +26
-2
lines changed
2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,22 @@ Provides a functor for creating and providing your own Fetch-implementation. The
21
21
22
22
A consumable fetch-library for ReasonML/OCaml native. Uses ` Lwt ` for its ` Promise ` -implementation.
23
23
24
+ To install, add the library to your esy-manifest, like so:
25
+
26
+ ``` json
27
+ {
28
+ "dependencies" : {
29
+ "fetch-native-lwt" : " lessp/fetch:fetch-native-lwt.json"
30
+ }
31
+ }
32
+ ```
33
+
34
+ or, to point to a specific commit:
35
+
36
+ ``` json
37
+ "fetch-native-lwt" : " lessp/fetch:fetch-native-lwt.json#<commit-hash>"
38
+ ```
39
+
24
40
## Contributing
25
41
26
42
Feel free to open an issue and/or grabbing one of the [ open issues] ( https://github.com/lessp/reason-fetch/issues ) .
Original file line number Diff line number Diff line change @@ -9,11 +9,19 @@ Fetch client for native ReasonML.
9
9
Currently to install, you'll need ` esy ` and pin ` fetch-native-lwt ` to point to this Github-repo.
10
10
11
11
``` json
12
- "dependencies" : {
13
- "fetch-native-lwt" : " lessp/fetch:fetch-native-lwt.json#<commit-hash>"
12
+ {
13
+ "dependencies" : {
14
+ "fetch-native-lwt" : " lessp/fetch:fetch-native-lwt.json"
15
+ }
14
16
}
15
17
```
16
18
19
+ or, to point to a specific commit:
20
+
21
+ ``` json
22
+ "fetch-native-lwt" : " lessp/fetch:fetch-native-lwt.json#<commit-hash>"
23
+ ```
24
+
17
25
2 . Add Fetch to your dune libraries:
18
26
19
27
``` lisp
You can’t perform that action at this time.
0 commit comments