Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kkazuo/bs-gcloud

Google Cloud Datastore bindings of BuckleScript.
https://github.com/kkazuo/bs-gcloud

bucklescript-bindings google-cloud ocaml

Last synced: about 2 months ago
JSON representation

Google Cloud Datastore bindings of BuckleScript.

Awesome Lists containing this project

README

        

# bs-gcloud
Google Cloud Datastore bindings of BuckleScript.

```
npm i --save bs-gcloud
```

# example

```
let module Ds = Gcloud.Datastore in
let ds = Ds.datastore () in
```

```
let key = ds##key ("Book", "First") in
ds##get key begin fun[@bs] err entity ->
match Js.Undefined.to_opt entity with
| None -> Js.log err
| Some entity -> Js.log entity
end
```