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

imean-replay-sdk

v1.41.6

Published

iMean replay sdk

Downloads

407

Readme

iMean Replay SDK

iMean Replay SDK is a powerful toolkit designed to assist developers in integrating replay functionality into their applications. This SDK is tailored for high performance and ease of use, supporting modern JavaScript frameworks and environments.

Table of Contents

Features

  • Modular Design: Includes both UMD and ES modules.
  • Cross-Platform: Works in various environments with support for modern web frameworks.
  • Performance Optimizations: Leverages popular libraries like immer and framer-motion for optimal performance.
  • TypeScript Support: Fully typed and ready to use in TypeScript projects.
  • Playwright Testing: Integrated end-to-end testing using Playwright.

Installation

You can install the iMean Replay SDK via npm:

npm install imean-replay-sdk

Or via yarn:

yarn add imean-replay-sdk

Or via pnpm:

pnpm add imean-replay-sdk

Usage

To start using the iMean Replay SDK in your project, import the module as follows:

import ReplaySDK from 'imean-replay-sdk';

ReplaySDK.init({
  mode: 'Default',
  workflow: {
    id: 'Create Event',
    steps: [
      {
        title: 'Click Create',
        id: 'AhPPa81go4KMr5CotK2eJ',
        type: 'Action',
        selector: '.mr0WL ',
        actionType: 'click',
        value: 'Create'
      },
      {
        title: 'Click Event',
        id: 'VS6c_J4nOALtUnk3mWVGW',
        type: 'Action',
        selector: '.z80M1.QJXRJc.FwR7Pc >.uyYuVb.oJeWuf >.jO7h3c ',
        actionType: 'click',
        value: 'Event'
      },
      {
        title: 'Type Title Conetnt',
        id: 'jOoGrFIxBo5UMA7i3VsrC',
        type: 'Action',
        selector: '#c96 ',
        actionType: 'type',
        value: 'test'
      },
      {
        title: 'Click Save',
        id: 'TzOr7UO2_oHTsU9youDhH',
        type: 'Action',
        selector:
          '.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.VfPpkd-LgbsSe-OWXEXe-dgl2Hf.nCP5yc.AjY5Oe.DuMIQc.LQeN7.pEVtpe >.VfPpkd-vQzf8d ',
        actionType: 'type',
        value: 'Save'
      }
    ]
  }
});

ReplaySDK.runAutomation({ index: 0 });

Supported Browsers

The iMean Replay SDK supports the following browser versions:

  • Chrome: Version 55 and above

Scripts

This project includes various scripts to help with development and building:

  • Build: Compiles the project into distributable formats.

    pnpm build
  • Development: Runs a development server with live reloading.

    pnpm dev
  • Linting: Lints the codebase and fixes issues automatically.

    pnpm lint
  • Testing: Runs the Playwright tests.

    pnpm test
  • Format: Formats the codebase using Prettier.

    pnpm format

Release Process

Releases for the iMean Replay SDK are handled using semantic versioning, driven by commit messages. The process is as follows:

  1. Commit Changes: When you're ready to commit your changes, use the following command:

    pnpm commit

    This command will guide you through crafting a well-structured commit message that adheres to the conventional commit standard. This is crucial for enabling automated semantic versioning.

  2. Automated Release: Once your changes are merged into the main branch, our CI/CD pipeline will automatically analyze the commit messages and determine whether a new release is necessary. Depending on the nature of the changes (e.g., features, fixes, breaking changes)

For more details, please refer to our Guide.