Persistent Peer IDs in libp2p JavaScript

After struggling with outdated docs and API changes, I figured out how to properly persist peer IDs in modern libp2p.
:white_check_mark: Uses current API: privateKeyToProtobuf/privateKeyFromProtobuf
:white_check_mark: Tested with latest versions
:white_check_mark: Complete working examples

Gist: Libp2p with static peer IDs · GitHub

Hope this saves others the debugging time I went through!