hyperdrive-http
hyperdrive-http copied to clipboard
Modernize and add write support
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.jsonand deprecrate/removedat.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.