[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(): HacknetNodeConstants;
```
Returns:
[HacknetNodeConstants](./bitburner.hacknetnodeconstants.md)
An object with all hacknet node constants used by the game.