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

groundtap

v1.0.1

Published

Groundtap components for rich-data presentation

Downloads

6

Readme

gtap (Previously AnCUI)

Build Status

A rich-data presentation library written in JavaScript (ES6) that demonstrates how Anemic Components can be used for presenting rich-data.

This library is still in its infancy.

Functional Visuals

Functional Visuals adhere to five core design principles. When adopted, the resulting components/libraries can be used to:

  • visualize rich-data
  • perform analytics
  • perform statistical analysis

Please take a look the wiki from information.

Installation

First clone the repo with the following command.

git clone https://github.com/haroldcampbell/anemic-components

cd anemic-components

Browser Examples

To view the examples, you'll need nodejs.

From the gtap folder install node.js packages.

npm install

Build the packages.

npm run bundle
npm run bundle-examples

Start the server.

npm start

In your browser, navigate to examples:

http://localhost:8001/examples/

What can we do right now with gtap?

The code snippet below shows an example of the declarative nature of the library.

const ctx = container("c6", $id("parent-elm"));
renderVisuals(ctx, [
    $bars(barsData, [$group("c6-be"), $maxHeight(50), $y(50), $yOffset(30), $width(150)]),
    $ellipses(ex6EllipsesData1, [$group("c6-e1"), $maxDiameter(50), $y(50), $cyOffset(30), $x(150)]),
    $ellipses(ex6EllipsesData2, [$group("c6-e2"), $maxDiameter(60), $y(55), $cyOffset(80), $x(400)]),
    $connectingLines(linesData1, [$joinGroupItems(["c6-e1", "c6-e2"]), $group("c6-e3"), $maxStrokeWidth(15)]),
    $onRenderCompleted(() => {
        $moveBelow("c6-e3", "c6-be")
    })
]);

This produces the following image:

Please take a look the wiki from information.

Tests

Tests were written using TapeJS

npm install babel-tape-runner -g

You’ll also need a .babelrc file:

{
  "presets": ["@babel/preset-env"]
}

From the root folder run the tests.

babel-tape-runner ./tests/tap.js ./tests/**/*.test.js

More information here: TapeJS vs Everything else

Pull Requests

Lots of work left to be done. Looking forward to pull requests.

Version History

  • 0.0.5 (Pre-alpha): Add ability to redraw shapes based on new data