Socket
Book a DemoInstallSign in
Socket

poper-react-sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poper-react-sdk

React SDK for Poper - a popups and widgets embed tool

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
20
-20%
Maintainers
1
Weekly downloads
 
Created
Source

poper-react-sdk

Official React SDK for Poper - a popups and widgets embed tool.

Installation

npm install poper-react-sdk
# or
yarn add poper-react-sdk

Usage

Basic Usage

import { Poper } from 'poper-react-sdk';

function App() {
  // Initialize Poper with your account ID
  Poper({
    accountID: "your-account-id",
  });
  
  return (
    <div>
      {/* Your app content */}
    </div>
  );
}

Using the React Hook

import { usePoper } from 'poper-react-sdk';

function App() {
  // Initialize Poper with the hook
  usePoper({
    accountID: "your-account-id",
  });
  
  return (
    <div>
      {/* Your app content */}
    </div>
  );
}

Configuration Options

OptionTypeRequiredDescription
accountIDstringYesYour Poper account ID

Features

  • Easy integration with React applications
  • Prevents multiple initializations on re-renders
  • TypeScript support
  • Lightweight

Keywords

poper

FAQs

Package last updated on 21 Mar 2025

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