New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@relewise/client

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@relewise/client

Relewise is a next generation personalization SaaS-platform, which offers functionality within product- and content recommendations and personalized search. This official SDK helps you interact with our API.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
increased by5.69%
Maintainers
3
Weekly downloads
 
Created
Source

Relewise JS SDK

Installation

Install via NPM or you preferred package manager:

npm install @relewise/client

Usage examples

Start by bootstrapping the client:

const tracker = new Tracker(RELEWISE_DATASET_ID, RELEWISE_API_KEY);

Replace the RELEWISE_DATASET_ID and RELEWISE_API_KEY parameters with your dataset & api key found at My.Relewise.

After which you have access to various methods depending on the client, in this case the tracker:

Tracking a product view

await tracker.tractProductView({
        productId: 'p-1',
        user: UserFactory.anonymous()
});

Contributing

Pull requests are always welcome.
Please fork this repository and make a PR when you are ready with your contribution.

Otherwise you are welcome to open an Issue in our issue tracker.

Keywords

FAQs

Package last updated on 11 Aug 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc