npm i whatpulse.js
yarn add whatpulse.js
new Client([hostname], [port], [protocol])
.fetchAccountTotals()
.fetchUnpulsedStats()
.pulse()
Param | Type | Default |
---|---|---|
[hostname] | string |
localhost |
[port] | number |
3490 |
[protocol] | string |
http: |
Returns: Promise<AccountTotals>
Returns: Promise<UnpulsedStats>
Returns: Promise<void>
Contributions are greatly accepted.
- Fork the repo
- Make your changes and commit
- Open a PR