You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Same as https://github.com/ipfs/js-ipfs/blob/master/README.md#ipfs-constructor
57
-
*
58
-
* @typedef {Object} IpfsOptions
59
-
* @property {string|Object} [repo] - The file path at which to store the IPFS node’s data. Alternatively, you can set up a customized storage system by providing an ipfs.Repo instance.
60
-
* @property {boolean|Object} [init=true] - Initialize the repo when creating the IPFS node. Instead of a boolean, you may provide an object with custom initialization options. https://github.com/ipfs/js-ipfs/blob/master/README.md#optionsinit
61
-
* @property {boolean} [start=true] - If false, do not automatically start the IPFS node. Instead, you’ll need to manually call node.start() yourself.
62
-
* @property {string} [pass=null] - A passphrase to encrypt/decrypt your keys.
63
-
* @property {boolean} [silent=false] - Prevents all logging output from the IPFS node.
* @property {object} [preload] - Configure remote preload nodes. The remote will preload content added on this node, and also attempt to preload objects requested by this node. https://github.com/ipfs/js-ipfs/blob/master/README.md#optionspreload Default: `{ enabled: true, addresses: [...]`
* @property {object} [config] - Modify the default IPFS node config. This object will be merged with the default config; it will not replace it. The default config is documented in the js-ipfs config file docs. https://github.com/ipfs/js-ipfs/blob/master/README.md#optionsconfig
68
-
* @property {object} [ipld] - Modify the default IPLD config. This object will be merged with the default config; it will not replace it. Check IPLD docs for more information on the available options. https://github.com/ipfs/js-ipfs/blob/master/README.md#optionsipld
69
-
* @property {object | Function} [libp2p] - The libp2p option allows you to build your libp2p node by configuration, or via a bundle function. https://github.com/ipfs/js-ipfs/blob/master/README.md#optionslibp2p
* @property {boolean} [disposable=true] - A new repo is created and initialized for each invocation, as well as cleaned up automatically once the process exits.
80
-
* @property {string} [type] - The daemon type, see below the options:
81
-
* - go - spawn go-ipfs daemon node
82
-
* - js - spawn js-ipfs daemon node
83
-
* - proc - spawn in-process js-ipfs node
84
-
* @property {Object} [env] - Additional environment variables, passed to executing shell. Only applies for Daemon controllers.
85
-
* @property {Array} [args] - Custom cli args.
86
-
* @property {Object} [ipfsHttpModule] - Reference to a IPFS HTTP Client object.
87
-
* @property {Object} [ipfsModule] - Reference to a IPFS API object.
88
-
* @property {string} [ipfsBin] - Path to a IPFS exectutable.
89
-
* @property {IpfsOptions} [ipfsOptions] - Options for the IPFS node.
90
-
* @property {boolean} [forceKill] - Whether to use SIGKILL to quit a daemon that does not stop after `.stop()` is called. (default true)
91
-
* @property {number} [forceKillTimeout] - How long to wait before force killing a daemon in ms. (default 5000)
92
-
*/
93
-
94
-
/**
95
-
* @typedef {Object} ControllerOptionsOverrides
96
-
* @property {ControllerOptions} [js] - Pre-defined defaults options for **JS** controllers these are deep merged with options passed to `Factory.spawn(options)`.
97
-
* @property {ControllerOptions} [go] - Pre-defined defaults options for **Go** controllers these are deep merged with options passed to `Factory.spawn(options)`.
98
-
* @property {ControllerOptions} [proc] - Pre-defined defaults options for **Proc** controllers these are deep merged with options passed to `Factory.spawn(options)`.
0 commit comments