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

@adsim/site-manager-connector

v0.1.0

Published

Connect any React/Vite site to the AdSim Site Manager MCP — auto-migration, SEO components, Content Contract discovery

Readme

@adsim/site-manager-connector

Connectez n'importe quel site React/Vite au Site Manager MCP d'AdSim — SEO, maillage interne, contenu dynamique, le tout piloté par IA.

Quick Start

npm install @adsim/site-manager-connector
# Migration des tables sm_* dans Supabase
SUPABASE_URL=https://xxx.supabase.co SUPABASE_KEY=eyJ... SITE_ID=mon-site npx sm-connector migrate
// main.tsx
import { SiteManagerConnector } from '@adsim/site-manager-connector';

await SiteManagerConnector.init({
  supabaseUrl: import.meta.env.VITE_SUPABASE_URL,
  supabaseKey: import.meta.env.VITE_SUPABASE_ANON_KEY,
  siteId: 'mon-site',
});
// ProductPage.tsx
import { SeoHead, SchemaInjector, RelatedLinks } from '@adsim/site-manager-connector/react';

function ProductPage({ product }) {
  return (
    <>
      <SeoHead pageType="products" pageId={product.id} fallbackTitle={product.name} />
      <SchemaInjector pageType="products" pageId={product.id} />
      <RelatedLinks sourceType="products" sourceId={product.id} buildUrl={(l) => `/products/${l.target_id}`} />
    </>
  );
}

Tables sm_* (migration additive)

| Table | Rôle | |-------|------| | sm_seo_meta | Meta SEO par page et par locale | | sm_internal_links | Maillage interne avec scoring et approbation | | sm_schema_org | JSON-LD (Product, Article, FAQ...) | | sm_audit_log | Historique des actions MCP | | sm_seo_history | Snapshots des scores SEO | | sm_globals | Config site + Content Contract | | sm_navigation | Menus dynamiques | | sm_analytics_cache | Cache GA4/GSC |

Composants React

| Composant | Rôle | |-----------|------| | <SeoHead /> | Injecte meta tags depuis sm_seo_meta | | <SchemaInjector /> | Injecte JSON-LD depuis sm_schema_org | | <RelatedLinks /> | Affiche maillage interne approuvé | | <DynamicContent /> | Contenu éditable via MCP |

Hooks

| Hook | Retour | |------|--------| | useSmSeo({ pageType, pageId, locale }) | { seo, loading, error } | | useSmSchema({ pageType, pageId }) | { schemas, loading } | | useSmLinks({ sourceType, sourceId }) | { links, loading } | | useSmGlobal({ key, field }) | { value, loading } |

CLI

| Commande | Description | |----------|-------------| | npx sm-connector migrate | Crée les 8 tables sm_* | | npx sm-connector discover | Génère le Content Contract | | npx sm-connector status | Vérifie les tables | | npx sm-connector sql | Affiche le SQL brut |

License

MIT — AdSim SRL