node-subdb
1.0.1 • Public • Published node-subdb
Installation
npm install --save node-subdb
Searching
var subdb = require('node-subdb');
subdb.getHash('./test/dexter.mp4').then(function (hash) {
return subdb.search(hash);
}).then(function (r) {
res.status(200).end(r);
});
Downloading
var subdb = require('node-subdb');
subdb.getHash('./test/dexter.mp4').then(function (hash) {
return subdb.download(hash);
}).then(function (r) {
res.status(200).end(r);
});
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads