websocket server for hypercore-archiver
npm install hypercore-archiver-ws
var archiver = require('hypercore-archiver')
var archiverWs = require('hypercore-archiver-ws')
var archives = archiver('./my-archiver')
var server = archiverWs(archives)
server.listen(8080, function () {
console.log(`listening on port ${8080}`)
})
var archiver = require('hypercore-archiver')
var archiverWs = require('hypercore-archiver-ws')
var archives = archiver('./my-archiver')
var server = archiverWs(archives)
server.listen(8080, function () {
console.log(`listening on port ${8080}`)
})