diff options
-rw-r--r-- | api.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,9 +1,9 @@ ## 1.0 Architecture Design - * dat: command-line + * dat: command-line api * dat-desk: desktop application - * dat-server: daemon dat manager + * dat-server: js api for server daemon * hyperdrive: storage layer * discovery-swarm: swarm @@ -47,12 +47,12 @@ Remove a link from the list, stops serving it. Opens up real-time monitoring panel for viewing progress of running dats. Can provide optional parameter `dat mon LINK` to filter the monitor and logs for a given dat link. -## dat-js +## JS api A common JavaScript API for Dat. ``` -var Dat = require('dat-js') +var Dat = require('dat-server') ``` #### `var dat = Dat(opts, cb)` |