1.0.4
Https is here !
We now support the https protocol. For now the structure of the result you get from the transfer.to()
method is the following ;
var transfer = require('transfer');
transfer.to('http://localhost:8080')
.then(result => {
console.log(result);
/* { token : '2KFQNpM',
url : '2KFQNpM.transfer.pub',
pathUrl : 'path.transfer.pub/2KFQNpM',
protocols : ['http', 'https'] } */
});