ipfs-utils
Advanced tools
Changelog
2.0.0 (2020-04-09)
.ndjson
, .stream
and .iterator
methods have been removed.ndjson
async generator function has been added to the response which
does the same thing the .ndjson
instance method used toOld:
for await (const datum of http.ndjson('http://...')) {
}
New:
const response = await http.post('http://...')
for await (const datum of response.ndjson()) {
}
<a name="1.2.4"></a>