[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) > [constants](./bitburner.hacknetnodesformulas.constants.md)
## HacknetNodesFormulas.constants() method
All constants used by the game.
Signature:
```typescript
constants(): number;
```
Returns:
number
An object with all hacknet node constants used by the game.