UNPKG

ipfs

Version:

JavaScript implementation of the IPFS specification

11 lines (8 loc) 214 B
'use strict' const promisify = require('promisify-es6') module.exports = self => { return promisify((...args) => { const callback = args.pop() callback(new Error('not available in the browser')) }) }