_workers.grow - vladzaharia/bitburner GitHub Wiki

Module: _workers/grow

Table of contents

Functions

Executable

main

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]

Parameters

Name Type Description
ns NS The Netscript object.

Returns

Promise<void>

Defined in

_workers/grow.ts:20

Importable

grow

grow(ns, hostname): Promise<number>

Grow host on hostname.

export

async

Parameters

Name Type Description
ns NS The Netscript object.
hostname string The host to grow.

Returns

Promise<number>

  • The amount by which the server's money grew.

Defined in

_workers/grow.ts:44

⚠️ **GitHub.com Fallback** ⚠️