The Site Reputation SDK JS (SR) provides two different clients to verify a site's reputation. The RealtimeReputationClient
fetches a site's reputation with additional information from a database and the SiteReputationClient
uses open-source lists to determine a site's reputation.
After cloning the project, ensure that the project is running successfully by:
yarn install
yarn build
yarn verify
System tests run against a live environment and use the built libary from lib/
. In order to run system tests locally, follow these steps to set up the environment.
.env
file at the root of the project.env.example
and paste them in the new .env
fileconfig/
config/sudoplatformconfig.json
config/register_key.private
.config/register_key.id
with the TEST registration key ID in it.yarn install && yarn build && yarn test:system
yarn test:system
each time afterGenerated using TypeDoc