This is a sub-package of web3.js
This is the whisper v5 package.
Please read the documentation for more.
npm install web3-shh
const Web3Personal = require('web3-shh');
const shh = new Web3Personal('ws://localhost:8546');
All the TypeScript typings are placed in the types
folder.