ipfs-inactive / js-ipfs-unixfs-exporter

[ARCHIVED] JavaScript implementation of the UnixFs exporter used by IPFS
MIT License
2 stars 3 forks source link

feat: add `fullPath` option #3

Closed achingbrain closed 5 years ago

achingbrain commented 5 years ago

When exporting a path with a subtree it's sometimes useful to get information about everything in the path and not just the node at the end.

This PR adds an option to return intermediate nodes in the export stream.

It also documents the maxDepth option and lowers the sharding threshold to make the shard tests more reliable in the browser.