<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [HacknetNodesFormulas](./bitburner.hacknetnodesformulas.md) > [constants](./bitburner.hacknetnodesformulas.constants.md) ## HacknetNodesFormulas.constants() method All constants used by the game. <b>Signature:</b> ```typescript constants(): HacknetNodeConstants; ``` <b>Returns:</b> [HacknetNodeConstants](./bitburner.hacknetnodeconstants.md) An object with all hacknet node constants used by the game.