How do I use libp2p from within js-ipfs?

The js-ipfs docs contain no references to libp2p.