torrentz
v17.0.1
Published
# example ``` const options = {} const Torrentz = require('torrentz') const torrentz = new Torrentz(options) ``` ## options ``` { dir: "some/directory/where/all/the/data/is/stored" , // string, optional, default: __dirname storage: "name-of-storage-direct
Downloads
344
Readme
Torrentz
example
const options = {}
const Torrentz = require('torrentz')
const torrentz = new Torrentz(options)
options
{
dir: "some/directory/where/all/the/data/is/stored" , // string, optional, default: __dirname
storage: "name-of-storage-directory", // string, optional, default: 'storage'
base: "name-of-database-directory", // string, optional, default: 'base'
routine: 0, // number, optional, default: 3600000
}