New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

bedrock-stats

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock-stats

## Available Storage APIs - [bedrock-stats-storage-redis](https://github.com/digitalbazaar/bedrock-stats-storage-redis)

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
5
Created
Source

bedrock-stats

Available Storage APIs

  • bedrock-stats-storage-redis

API Reference

bedrock-stats

  • bedrock-stats
    • .getMonitorIds(options)Promise.<Array.<string>>
    • .getReports(options)Promise.<Object>

bedrock-stats.getMonitorIds(options) ⇒ Promise.<Array.<string>>

Get all known monitor IDs.

Kind: static method of bedrock-stats
Returns: Promise.<Array.<string>> - The monitor IDs.
Throws:

  • BedrockError Will throw a NotFoundError on an unknown storage API.
ParamTypeDescription
optionsObjectThe options to use.
options.storageApistringThe storage API to use.

bedrock-stats.getReports(options) ⇒ Promise.<Object>

Get a stats reports matching the query.

Kind: static method of bedrock-stats
Returns: Promise.<Object> - The stats report.
Throws:

  • BedrockError Will throw a NotFoundError on an unknown storage API.
ParamTypeDescription
optionsObjectThe options to use.
options.queryObjectThe query passed to the storage API.
options.storageApistringThe storage API to use.

FAQs

Package last updated on 29 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts