Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kameleoon/nodejs-event-source

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kameleoon/nodejs-event-source

Kameleoon NodeJS SDK EventSource

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-66.75%
Maintainers
0
Weekly downloads
 
Created
Source

Kameleoon NodeJS SDK Event Source

Introduction

Kameleoon NodeJS SDK Event Source is a small helper package which provides default implementation for Kameleoon NodeJS SDK external Event Source built on top of NodeJS eventsource library.

For more information refer to Official Kameleoon Documentation

Contents

Installation

  • npm - npm install @kameleoon/nodejs-event-source
  • yarn - yarn add @kameleoon/nodejs-event-source
  • pnpm - pnpm add @kameleoon/nodejs-event-source
  • bun - bun install @kameleoon/nodejs-event-source

Configuration

While using @kameleoon/nodejs-sdk:

  • Import KameleoonEventSource
  • Instantiate and pass it to external SDK dependencies
import { KameleoonClient } from '@kameleoon/nodejs-sdk';
import { KameleoonEventSource } from '@kameleoon/nodejs-event-source';

const client = new KameleoonClient({
  siteCode: 'my_site_code',
  credentials: {
    clientId: 'my_id',
    clientSecret: 'my_secret',
  },
  externals: {
    eventSource: new KameleoonEventSource(),
  },
});

Keywords

FAQs

Package last updated on 04 Dec 2024

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