This is a sub module of web3.js
This is the miner module. This is an independent module. If you want to use this module, you need to import this in your project. Please read the documentation for more.
npm install web3-eth-miner
import {Miner} from 'web3ccm-eth-miner';
const miner = new Miner('http://127.0.0.1:8546', null, options);
All the typescript typings are placed in the types folder.