Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit cdc7467

Browse files
committed
Merge pull request #17 from noffle/readme-tweaks
Fix README typo + tweaks.
2 parents 88c796c + 0191ae2 commit cdc7467

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ The API is presented with both Node.js and Go primitives. However, there are no
1212

1313
# Modules that implement the interface
1414

15-
- [JavaScript IPFS implementation](https://github.com/ipfs/js-ipfs)
16-
- [JavaScript ipfs-api](https://github.com/ipfs/js-ipfs-api)
15+
- **WIP** [JavaScript IPFS implementation](https://github.com/ipfs/js-ipfs)
16+
- **WIP** [JavaScript ipfs-api](https://github.com/ipfs/js-ipfs-api)
1717
- Soon, go-ipfs, go-ipfs-api, java-ipfs-api, python-ipfs-api and others will implement it as well.
1818

19-
Send a PR to add a new one if you happen to find or write one.
19+
Send in a PR if you find or write one!
2020

2121
# Badge
2222

23-
Include this badge in your readme if you make a new module that uses interface-stream-muxer API.
23+
Include this badge in your readme if you make a new module that implements
24+
interface-ipfs-core API.
2425

2526
![](/img/badge.png)
2627

@@ -66,7 +67,7 @@ A valid (read: that follows this interface) IPFS core implementation, must expos
6667

6768
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][]
6869

69-
If no `callback` is passed, a promise is returned.
70+
If no `callback` is passed, a [promise][] is returned.
7071

7172

7273

@@ -92,7 +93,7 @@ If no `callback` is passed, a promise is returned.
9293

9394
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][]
9495

95-
If no `callback` is passed, a promise is returned.
96+
If no `callback` is passed, a [promise][] is returned.
9697

9798

9899

@@ -117,7 +118,7 @@ If no `callback` is passed, a promise is returned.
117118

118119
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][]
119120

120-
If no `callback` is passed, a promise is returned.
121+
If no `callback` is passed, a [promise][] is returned.
121122

122123
### `object.data`
123124

@@ -137,7 +138,7 @@ If no `callback` is passed, a promise is returned.
137138

138139
`callback` must follow `function (err, data) {}` signature, where `err` is an error if the operation was not successful and `data` is a Buffer with the data that the MerkleDAG node contained.
139140

140-
If no `callback` is passed, a promise is returned.
141+
If no `callback` is passed, a [promise][] is returned.
141142

142143
### `object.links`
143144

@@ -158,7 +159,7 @@ If no `callback` is passed, a promise is returned.
158159

159160
`callback` must follow `function (err, links) {}` signature, where `err` is an error if the operation was not successful and `links` is an Array of [DAGLink](https://github.com/vijayee/js-ipfs-merkle-dag/blob/master/src/dag-node.js#L199-L203) objects.
160161

161-
If no `callback` is passed, a promise is returned.
162+
If no `callback` is passed, a [promise][] is returned.
162163

163164

164165

@@ -194,7 +195,7 @@ If no `callback` is passed, a promise is returned.
194195
}
195196
```
196197

197-
If no `callback` is passed, a promise is returned.
198+
If no `callback` is passed, a [promise][] is returned.
198199

199200

200201

@@ -225,7 +226,7 @@ If no `callback` is passed, a promise is returned.
225226

226227
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][] that resulted by the operation of adding a Link.
227228

228-
If no `callback` is passed, a promise is returned.
229+
If no `callback` is passed, a [promise][] is returned.
229230

230231

231232

@@ -252,7 +253,7 @@ If no `callback` is passed, a promise is returned.
252253

253254
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][] that resulted by the operation of adding a Link.
254255

255-
If no `callback` is passed, a promise is returned.
256+
If no `callback` is passed, a [promise][] is returned.
256257

257258

258259

@@ -279,7 +280,7 @@ If no `callback` is passed, a promise is returned.
279280

280281
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][] that resulted by the operation of adding a Link.
281282

282-
If no `callback` is passed, a promise is returned.
283+
If no `callback` is passed, a [promise][] is returned.
283284

284285

285286

@@ -306,8 +307,9 @@ If no `callback` is passed, a promise is returned.
306307

307308
`callback` must follow `function (err, node) {}` signature, where `err` is an error if the operation was not successful and `node` is a MerkleDAG node of the type [DAGNode][] that resulted by the operation of adding a Link.
308309

309-
If no `callback` is passed, a promise is returned.
310+
If no `callback` is passed, a [promise][] is returned.
310311

311312

312313
[DAGNode]: https://github.com/vijayee/js-ipfs-merkle-dag
313314
[multihash]: http://github.com/jbenet/multihash
315+
[promise]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

0 commit comments

Comments
 (0)