npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

taki-popups-service-staging

v0.3.1

Published

**TakiPopups** is a powerful, customizable notification tool designed to enhance your website's user engagement and marketing capabilities. With TakiPopups, businesses can deliver tailored notifications to users, driving higher engagement and improving co

Downloads

68

Readme

TakiPopups

TakiPopups is a powerful, customizable notification tool designed to enhance your website's user engagement and marketing capabilities. With TakiPopups, businesses can deliver tailored notifications to users, driving higher engagement and improving conversion rates. Seamlessly integrate the service into your website by using our npm package and passing user-specific information.

Table of Contents


Installation

To get started with TakiPopups, install the package via npm:

npm install taki-popups-service

Usage

Once the package is installed, you can integrate TakiPopups into your website by importing the module and passing in the required user details as props.

Basic Example

Here’s a simple example of how to implement TakiPopups in your React project:

For Logged-In Users


import { TakiPopups } from 'taki-popups-service';

TakiPopups({
  name: 'Adem',
  memberId: '73924',
  appId: '546363546',
  meta_data: {
    age: 18,
    state: 'Manouba',
    phoneNumber: '5289452343',
    // ... additional meta-data
  }
});
function App() {
  return (
    <div>
      {/* Other components */}
    </div>
  );
}

export default App;

For Guest Users

import { TakiPopups } from 'taki-popups-service';

TakiPopups({
  appId: '546363546',
});

function App() {
  return (
    <div>
      {/* Other components */}
    </div>
  );
}

export default App;

Props

The TakiPopups function accepts the following properties:

| Prop | Type | Required | Description | | ----------- | -------- | ------------ | -------------------------------------------------------- | | name | string | No | The name of the user. | | memberId | string | No | A unique identifier for the logged-in user. | | appId | string | Yes | The application ID used to identify your business or app. | | meta_data | object | No | Additional user information such as demographics. |

Meta Data Object Structure

The meta_data object can contain various user attributes to personalize the notification experience:

  • age (number): User's age.
  • state (string): The state or region where the user is located.
  • phoneNumber (string): User's phone number.

Feel free to extend meta_data with other fields to enhance the notifications sent to your users.

Customization

TakiPopups is designed to be flexible and highly customizable. You can extend the component with additional properties to control the behavior, appearance, and delivery of notifications. Explore the full list of customization options and advanced configuration in the official documentation.

Example Customizations:

  • Notification styles: Customize colors, fonts, and positions.
  • Trigger conditions: Specify when and how notifications should appear based on user activity.
  • Content personalization: Dynamically tailor notification content based on user attributes passed via meta_data.

License

This project is open-source and licensed under the MIT License. Feel free to use, modify, and distribute it according to the terms of the license.

Support

For questions, issues, or feature requests, please visit our GitHub repository and open an issue. You can also reach out to our support team at [email protected].