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

ngx-indaba-charts

v1.4.0

Published

- metric - provider - graph - threshold

Readme

Librairie d'affichage de courbes timeseries

Modèles

  • metric
  • provider
  • graph
  • threshold

Metric

public timestamp: string; public value: number;

Contient les valeurs retournées par la base time-series.

Provider

providerUrl: string; token: string;

Contient les informations pour l'accès à la base, ici, une url et un token auth0.

Graph

public tag: string; public source: string; public color?: string; public unit?: string; public displayOrder?: number; public refresh = true; public metrics?: Array<Metric>;

Contient les informations d'un tag :

  • Le nom
  • La source de donnée
  • La couleur désirée ( optionnel )
  • L'unité ( optionnel )
  • L'ordre d'affichage ( optionnel )
  • Si le tag doit être récupéré de la base ou non
  • Le tableau de données récupérés

Threshold

public axe: string; public value: number; public color?: string; public label?: string; public dashed?: boolean; Le threshold permet d'ajouter un seuil sur un graphe, il se manifeste en ligne pointillé ou continue sur le graphe.

  • axe correspond à l'identifiant Y de l'axe ou le seuil sera ajouté
  • value est la valeur du seuil
  • La couleur désirée ( optionnel )
  • Label permet d'ajouter un titre au centre du seuil ( optionnel )
  • dashed, en pointillé, ou continu ( optionnel )

Composants

ngx-indaba-charts

Affiche une/des courbe(s) issue de tags d'une base time series

Utilisation

@Input() provider: Provider; @Input() startDate: string; @Input() endDate: string; @Input() tags: Array<Graph>; @Input() nbrPoints = 1000; @Input() threshold?: Array<Threshold>; @Input() deleteAll: boolean; @Output() zoomed = new EventEmitter<any>(); @Output() removed = new EventEmitter<any>();

  • provider contient le token auth0 et l'url de la base
  • startDate correspond à la date min de récupération des points
  • endDate correspond à la date max de récupérations des points
  • tags, la liste des tags à récupérer
  • nbrPoints le nombre de points désiré ( défaut : 1000 )
  • threshold, la liste des seuils à ajouter au graphe
  • deleteAll, restaure le graphe par défaut
  • zoomed, event émis au composant parent lors de l'utilisation du zoom
  • removed, event émis au composant parent lors de la suppression d'un tag par double clic sur la légende

Exemple d'utilisation :

<ngx-indaba-charts [provider]="provider" [startDate]="minDate" [endDate]="maxDate" [tags]="graphs" [nbrPoints]="1000" [deleteAll]="deleteCharts" [threshold]="thresholds" (zoomed)="zoomed()" (removed)="removed()"> </ngx-indaba-charts>

ngx-indaba-bar

Affiche un bar chart issue de tag

Utilisation

@Input() provider: Provider; @Input() startDate: string; @Input() endDate: string; @Input() tag: Graph; @Input() nbrPoints = 1000;

  • provider contient le token auth0 et l'url de la base
  • startDate correspond à la date min de récupération des points
  • endDate correspond à la date max de récupérations des points
  • tag, le tag a récupérer
  • nbrPoints le nombre de points désiré ( défaut : 1000 )

Exemple d'utilisation :

<ngx-indaba-bar [provider]="provider" [startDate]="minDate" [endDate]="maxDate" [tag]="graph" [nbrPoints]="1000"> </ngx-indaba-bar>