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

@psychomantic/ui-react

v0.1.0

Published

Composants React exportables Psychomantic (roue natale, grille Matrice du Destin, visualiseur de payloads) — design Pastelo, stateless, données IshtarEngine uniquement

Readme

@psychomantic/ui-react

Composants React exportables de Psychomantic — roue astrologique, Matrice du Destin et visualiseur de payloads, alimentés par les calculs IshtarEngine (kernel quantifié maison DE442Q, dérivé de l'éphéméride NASA JPL DE442, millésime 2024 ; précision mesurée 0,052″ en moyenne / 0,095″ au maximum contre JPL Horizons, 63 points).

Principes : stateless (aucun fetch, aucune clé API dans le widget), zéro calcul côté client, design Pastelo scopé (aucune pollution du CSS hôte), light/dark/auto, i18n fr/en, accessible (ARIA, clavier, prefers-reduced-motion).

Installation

Le package n'est pas encore publié sur npm : npm view @psychomantic/ui-react version rend 404 au 2026-10-22. Il est distribué aujourd'hui avec le portail B2B, via une copie vendorisée synchronisée depuis ce dépôt (psychomantic-platform/vendor/ui-react, script scripts/sync-ui.sh, empreinte vérifiée par test).

Le scope @psychomantic est réservé par l'organisation npm créée le 2026-10-22, et le contrat ChartResponse est aligné sur l'app (extraPoints, commit 3deea0e). La publication du package reste une décision explicite : npm publish --access public depuis ce dossier, après validation du build. Pour un accès anticipé : [email protected].

Peer deps prévues une fois publié : react, react-dom, et recharts + lucide-react pour la Matrice.

Démarrage rapide

Exemple d'API cible, valable une fois le package publié sur npm. Aujourd'hui, les composants s'utilisent depuis la copie vendorisée du portail B2B.

import { PsychomanticNatalChart } from '@psychomantic/ui-react';
import '@psychomantic/ui-react/styles.css';

// 1. Récupérez la donnée via l'API IshtarEngine (POST /v1/astro/natal)
const chart = await fetch('https://api.psychomantic.com/v1/astro/natal', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'X-API-Key': 'ish_live_...' },
  body: JSON.stringify({ date: '1990-06-15', time: '14:30', latitude: 48.8566, longitude: 2.3522, timezone: 'Europe/Paris' }),
}).then(r => r.json()).then(j => j.data);

// 2. Passez-la au composant — c'est tout.
export default function App() {
  return <PsychomanticNatalChart data={chart} theme="light" />;
}

Les 3 widgets

<PsychomanticNatalChart /> — roue astrologique SVG

// Mode simple
<PsychomanticNatalChart data={chart} size={640} theme="auto" />

// Mode bi-roue (synastrie ou transits)
<PsychomanticNatalChart
  innerData={natalChart}
  outerData={transitChart}
  biWheelMode="transit"
  outerLabel="Transits"
  innerLabel="Natal"
  onPlanetHover={(key) => console.log(key)}
/>

Props principales : data, innerData/outerData, biWheelMode, showHouses, showAspects, visiblePlanets, visibleAngles, crossAspects, onPlanetHover, size (px), theme, lang, className.

<PsychomanticMatrixGrid /> — Matrice du Destin (exclusivité)

Aucun équivalent chez les API concurrentes : octogramme des 22 arcanes, clés Cœur/Portefeuille, queue karmique, 7 chakras, énergies annuelles.

// Donnée : POST /v1/matrix { birthDate }
<PsychomanticMatrixGrid
  data={matrixResponse}
  sections={['octogram', 'keys', 'chakras', 'yearly']}
  theme="auto"
  lang="fr"
/>

<PayloadViewer /> — inspecteur double vue

Debug d'intégration : JSON brut vs résumé visuel, pour tout payload IshtarEngine.

<PayloadViewer
  payload={apiResponse}
  view="json"                       // 'visual' | 'json'
  jsonOptions={{ collapsedDepth: 2, searchable: true, copyButton: true }}
/>

Thème light / dark

Trois mécanismes cumulables :

  1. Prop theme="light" | "dark" | "auto" (défaut auto)
  2. Héritage : data-theme="dark" ou classe .dark sur un ancêtre
  3. prefers-color-scheme en l'absence d'indication

Les tokens CSS sont scopés sous .pm-widget : rien ne fuit dans le :root de votre application.

Sans build (essai en 10 secondes)

Ouvrez demo/index.html via n'importe quel serveur statique :

cd demo && python3 -m http.server 8791
# → http://localhost:8791

La démo utilise de vrais payloads IshtarEngine (thème natal + matrice du destin calculés par le kernel DE442Q).

API IshtarEngine

  • REST : https://api.psychomantic.com/v1/* (clé ish_live_... via le dashboard)
  • Remote MCP (agents IA) : https://api.psychomantic.com/mcp — tools/list public, compact: true pour -53 % de tokens
  • Précision certifiée : docs/PRECISION_CERTIFICATION.md (0,110″ moyenne / 0,802″ max vs JPL Horizons)

Licence

MIT © Kossmonot