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 🙏

© 2026 – Pkg Stats / Ryan Hefner

wovvmap-ai-assistant

v1.0.2

Published

Wovv AI Assistant Cross-platform Package

Downloads

316

Readme

Wovvtech AI Assistant 🚀

wovvmap-ai-assistant ek cross-platform NPM package hai jo aapke Mall ya Store ke liye ek powerful AI-driven Chat Assistant provide karta hai. Iska use karke aap Web (React) aur Native (React Native) dono platforms par ek premium AI chat interface integration kar sakte hain.

✨ Features

  • Cross-Platform: React Web aur React Native dono ke liye separate optimized components.
  • Smart Data Registration: Sirf mapData pass karein, package apne aap backend me stores register kar lega.
  • Unique Navigation: onNavigate callback ab store name ke saath unique key (ID) bhi deta hai, jisse duplicate names ka confusion khatam ho jata hai.
  • Smart Scrolling: Lambe assistant replies apne aap top se dikhenge, jabki user messages bottom par scroll honge.
  • Highly Customizable: Custom gradients, fonts, aur greetings support.

📦 Installation

npm install wovvmap-ai-assistant
# or
yarn add wovvmap-ai-assistant

🌐 Web Usage (React)

import { WovvAIAssistantWeb } from 'wovvmap-ai-assistant/web';
import 'wovvmap-ai-assistant/styles.css'; // Import styles for Tailwind CSS to work

function App() {
  return (
    <WovvAIAssistantWeb 
      baseUrl="http://localhost:3000"
      mallId="MALL_001"
      name="Mall Buddy"
      initialGreeting="Namaste! Main aapki kya madad kar sakta hoon?"
      mapData={myStoreList} // Array of searchable points
      theme={{
        themePrimary: "#8B5EC8",
        themeBg: "linear-gradient(to bottom, #8B5EC8, #68A5DA)",
        themeFontPrimary: "'Poppins-Bold', cursive"
      }}
      onNavigate={(storeName, key) => {
        console.log(`Navigating to ${storeName} with ID: ${key}`);
        // Trigger your map navigation logic here
      }}
    />
  );
}

📱 Native Usage (React Native)

import { WovvAIAssistantNative } from 'wovvmap-ai-assistant/native';

function App() {
  return (
    <WovvAIAssistantNative 
      baseUrl="http://your-api.com"
      mallId="MALL_001"
      mapData={myStoreList}
      primaryColor="#8B5EC8"
      onNavigate={(storeName, key) => {
        // Mobile map navigation logic
      }}
    />
  );
}

⚙️ Props Configuration

| Prop | Type | Description | | :--- | :--- | :--- | | baseUrl | string | Aapke backend API ka base URL (e.g. http://localhost:3000). | | mallId | string | Mall ka unique identifier jo backend me data register karne ke liye kaam aata hai. | | mapData | any[] | Stores/Points ka array. Agar ye pass kiya gaya hai, toh package ise automatically /api/register par bhej dega. | | initialGreeting | string | AI ka pehla welcome message. | | onNavigate | (name, key) => void| Jab user "Get Directions" par click karega, ye function trigger hoga. Isme store ka naam aur unique key milengi. | | theme | WovvAIAssistantTheme | (Web Only) Custom colors, gradients, aur font settings. | | primaryColor | string | UI ka main color. |

🛠️ Performance & Best Practices

  • Auto-Wait: Package tab tak Chat UI enable nahi karta jab tak mapData backend me successfully register na ho jaye. Developer ko manually register karne ki zarurat nahi hai.
  • Debounced Scrolling: New messages par intelligent scroll logic chalta hai taaki reading experience seamless rahe.
  • Native Optimization: React Native me KeyboardAvoidingView ka use kiya gaya hai taaki chatting ke waqt UI hide na ho.

Made with ❤️ by WovvTech Team.