Module utils
Expand description
Utility functions for node startup and shutdown, for example path parsing and retrieving single blocks from the network.
Functions§
- Attempts to retrieve or create a JWT secret from the specified path.
- Get a body from network based on header
- Get a single header from network
- Parses a user-specified path with support for environment variables and common shorthands (e.g. ~ for the user’s home directory).