mafintosh / Hypercore Stats Ui
Licence: mit
HTML based stats ui for hypercore/hyperdrive
Stars: ✭ 33
Programming Languages
javascript
184084 projects - #8 most used programming language
hypercore-stats-ui
HTML based stats ui for hypercore/hyperdrive
npm install hypercore-stats-ui
Usage
var http = require('http')
var stats = require('hypercore-stats-ui')
var ram = require('random-access-memory')
var hypercore = require('hypercore')
var feed = hypercore(ram, '72671c5004d3b956791b6ffca7f05025d62309feaf99cde04c6f434189694291')
http.createServer(stats(feed)).listen(1000)
And visit http://localhost:10000 in the browser.
API
var onrequest = stats(feed or archive)
Create a new stats interface for a hypercore feed or hyperdrive archive.
License
MIT
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].