summaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 43937cf..1017738 100644
--- a/readme.md
+++ b/readme.md
@@ -99,6 +99,8 @@ request('/foo', {
## API
+### `createServer`
+
```js
const createServer = require('@derhuerst/gemini/server')
createServer(opt = {}, onRequest)
@@ -115,7 +117,7 @@ createServer(opt = {}, onRequest)
}
```
----
+### `request`
```js
const request = require('@derhuerst/gemini/client')
@@ -137,7 +139,7 @@ request(pathOrUrl, opt = {}, cb)
}
```
----
+### `connect`
```js
const connect = require('@derhuerst/gemini/connect')
@@ -158,6 +160,11 @@ connect(opt = {}, cb)
```
+## Related
+
+- [`gemini-fetch`](https://github.com/RangerMauve/gemini-fetch) – Load data from the Gemini protocol the way you would fetch from HTTP in JavaScript
+
+
## Contributing
If you have a question or need support using `gemini`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, use [the issues page](https://github.com/derhuerst/gemini/issues).