aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/api.md b/api.md
index e3bcbb3..3c41cd9 100644
--- a/api.md
+++ b/api.md
@@ -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)`