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

meltano-dashboard

v0.36.1

Published

For demo see [HellowWorld.vue](https://gitlab.com/meltano/dashboard/blob/master/src/components/HelloWorld.vue)

Downloads

23

Readme

Meltano Dashboard

For demo see HellowWorld.vue

npm version

Screen Shot

Check Out HelloWorld.vue for example usage.

CSS

dashboard-columns

A row of charts.

dashboard-column

An individual chart container

Grid

The grid is flexbox based and divided into 12 columns with 12 different classes. 1 size for each division.

  • is-2
  • is-3
  • is-4
  • is-5
  • is-6
  • is-7
  • is-8
  • is-9
  • is-10
  • is-11
  • is-12

Dashboard Sizes

To create a small, medium or large dashboard, use the sizes.

  • small
  • medium
  • large
<div class="dashboard-column is-6 medium">
  <div class="chart-board number-board">
    <number-chart
      number="$92,000"
      title="acv"></number-chart>
  </div>
</div>

Chart Containers

Wrap your chart in a .chart-board class to get that dashboard look.

<div class="dashboard-column is-6 medium">
  <div class="chart-board number-board">
    <number-chart
      number="$92,000"
      title="acv"></number-chart>
  </div>
</div>

.chart-board Wrapper for the chart itself to create that actual board look.

.number-board Wrapper for number charts to nicely display number charts

When using a number-chart add .number-board class to center the number in the board.

Vue Components

BarChart

A basic vertical bar chart

HorzBarChart

A basic horizontal bar chart

LineChart

A basic unfilled line chart

AreaChart

A basic filled line chart

NumberChart

A chart for displaying numerical information in large text.

number (required, String)

The number to display. Any String

title (required, String)

The title to display on the card.

Any Chart

All charts can take a chart-data and chart-labels property. See HelloWorld.vue for an example application.

legendLabel

When datasets is just an array of numbers, set the legend label to this string. In more complex data, passed as label in object of dataset.

title (optional, String)

The title of the chart

stacked (optional, Boolean)

For stacked charts

datasets (optional, [Number], [Object])

The data for the chart itself. See chart.js documentation.

labels (optional, [String])

The labels for the chart itself.

<div class="dashboard-columns">
  <div class="dashboard-column is-6 medium">
    <div class="chart-board number-board">
      <number-chart
        number="$92,000"
        title="acv"></number-chart>
    </div>
  </div>
  <div class="dashboard-column is-6 medium">
    <div class="chart-board">
      <bar-chart
        legend-label="months"
        :stacked="false"
        :datasets="multipleSets"
        :labels="chartLabels"></bar-chart>
    </div>
  </div>
</div>

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Lints and fixes files

yarn run lint

Run your unit tests

yarn run test:unit

Run your end-to-end tests

yarn run test:e2e