var Torrent = require('webseeded-torrent-generator');var fs = require('fs');var
base = 'http://ia700201.us.archive.org/6/items/';var name =
'jj2005-02-27.fm.shnf';var files = [
'jj2005-02-27.fm.d1.md5',
'jj2005-02-27.fm.d1.txt'
];
var torrent = new Torrent(base, name, files);
torrent.getMetadata().then(function (buf) {
fs.writeFileSync('tmp.torrent', buf);
});
*When i try to run this code i am getting an message telling that outstanding
promises and some other junk of data, instead of writing a torrent . Can anyone
can help me to fix it*
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/6a803a44-46ff-4b5d-a9c3-8a95ea750ba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.