This is a sub module of web3.js
The Method module abstracts the JSON-RPC method and is used within most web3.js modules.
npm install web3-core-method
All the typescript typings are placed in the types folder.