RangerMauve / dat-archive-web

DatArchive implementation for browsers that uses dat-gateway
MIT License
30 stars 4 forks source link

D-A-Web into Dat/SDK? #12

Closed DougAnderson444 closed 5 years ago

DougAnderson444 commented 5 years ago

I saw the integration of DatArchive for Beaker into the SDK

Any plans to also put this dat-archive-web into the SDK? I am thinking it may be useful for those who want to use the Beaker API, and WebDB API, in a regular browser.

Thoughts?

RangerMauve commented 5 years ago

Yeah, the promise API in the SDK is based on dat-archive-web.

So something like const {DatArchive} = require('dat-sdk/auto') should do the trick.