_workers.grow - vladzaharia/bitburner GitHub Wiki
▸ main(ns): Promise<void>
Grow host(s) from Terminal.
export
example Grow single passed in host.
run /helpers/grow.js [host0]example Grow multiple passed in hosts.
run /helpers/grow.js [host0] ... [hostn]| Name | Type | Description |
|---|---|---|
ns |
NS |
The Netscript object. |
Promise<void>
▸ grow(ns, hostname): Promise<number>
Grow host on hostname.
export
async
| Name | Type | Description |
|---|---|---|
ns |
NS |
The Netscript object. |
hostname |
string |
The host to grow. |
Promise<number>
- The amount by which the server's money grew.