dat-node
dat-node copied to clipboard
Merge with dat-node?
@joehand and I are questioning whether this module and https://www.npmjs.com/package/dat-node can be combined, because some of the work here (managing multiple dats, handling multiple dat types) is generally useful.
In this issue, we'll discuss what a merge would require. Let's keep a running list in the description.
Required changes
- [ ] A way to request the Web APIs vs the Hyper* APIs. (eg
DatArchivevshyperdrive()) - [ ] Configurable dat-storage, to remain compatible with existing
dat-node
Another point I forgot was node <8 compatibility for the CLI =(
We could require that node v6 users install the binary instead (for example, that is what now.sh does) or provide another alternative.
Hmm we could also look into a transpiler