hyperdrive-http icon indicating copy to clipboard operation
hyperdrive-http copied to clipboard

Modernize and add write support

Open Frando opened this issue 5 years ago • 0 comments

This is my current dev branch. It includes some code I ported from sonar. I'll continue working on this likely from time to time. If anyone wants to join please do.

Related question: Is this module maintained by anyone at the moment?

Current features in this branch:

  • [x] Update to hyperdrive v10, update all other dependencies
  • [x] Remove broken tests and add minimal smoke test
  • [x] Rename archive to drive everywhere
  • [ ] Add support for PUT and DELETE and possibly others
  • [ ] Support index.json and deprecrate/remove dat.jsonsupport

I added a minimal PUT API already. I want to connect this to this issue about a standardized http api for hyperdrives and hypercores - next step here is to compare what I have at the moment in Sonar to @rangermauve's proposal in that issue.

I'm using this with express, and it makes some things easier, so I might add a middleware interface here too. But I'd also like to keep supporting node http core directly too.

Frando avatar Jun 11 '20 16:06 Frando