create-torrent
Advanced tools
Comparing version 4.3.1 to 4.4.0
@@ -48,2 +48,3 @@ const bencode = require('bencode') | ||
* @param {Array.<string>=} opts.urlList | ||
* @param {Object} opts.info | ||
* @param {function} cb | ||
@@ -371,2 +372,4 @@ * @return {Buffer} buffer of .torrent file data | ||
if (opts.info !== undefined) Object.assign(torrent.info, opts.info) | ||
// "ssl-cert" key is for SSL torrents, see: | ||
@@ -373,0 +376,0 @@ // - http://blog.libtorrent.org/2012/01/bittorrent-over-ssl/ |
{ | ||
"name": "create-torrent", | ||
"description": "Create .torrent files", | ||
"version": "4.3.1", | ||
"version": "4.4.0", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "WebTorrent, LLC", |
@@ -71,3 +71,4 @@ # create-torrent [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] | ||
announceList: [[String]], // custom trackers (array of arrays of strings) (see [bep12](http://www.bittorrent.org/beps/bep_0012.html)) | ||
urlList: [String] // web seed urls (see [bep19](http://www.bittorrent.org/beps/bep_0019.html)) | ||
urlList: [String], // web seed urls (see [bep19](http://www.bittorrent.org/beps/bep_0019.html)) | ||
info: Object // add non-standard info dict entries, e.g. info.source, a convention for cross-seeding | ||
} | ||
@@ -74,0 +75,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22201
488
126