Purescript bindings to the gun.js database.
Install purescript-gun with bower:
$ bower install purescript-gun
syncWithPeers to connect to gun database.
do gundb -> liftEffect syncWithPeer "http://myserver.com/gun" ...
After you've got a reference to a gundb instance, define a path with gun
get and read data with
do gundb -> liftEffect syncWithPeer "http://myserver.com/gun" data -> gundb # get ["users", "friends"] # once ...
Have a look at the test directory for more examples.
Module documentation is published on Pursuit.
Check LICENSE file for more information.