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 πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

@lumel/ap-viz-cli

v0.0.2

Published

πŸš€ Official CLI tool for creating and building custom visualizations for Analytics Plus. Generate professional templates with AP SDK integration.

Readme

πŸš€ AP Visualization CLI

Official CLI tool for creating and building custom visualizations for Analytics Plus. Generate professional templates with AP SDK integration, modern styling, and development tools.

πŸ“¦ Installation

npm install -g @lumel/ap-viz-cli

πŸš€ Quick Start

Create a new visualization project:

# Create a React TypeScript project
apviz create my-dashboard --template react-ts

# Create a vanilla JavaScript project
apviz create my-chart --template vanilla

# Create in current directory
apviz create . --template react

Build your project for production:

apviz build

πŸ“‹ Available Templates

| Template | Description | Best For | |----------|-------------|----------| | vanilla | Pure JavaScript with AP SDK | Simple visualizations, learning | | vanilla-ts | TypeScript with type safety | Type-safe JavaScript development | | react | React with modern hooks | Interactive components | | react-ts | React + TypeScript | Enterprise-grade applications |

πŸ› οΈ Commands

apviz create [folder] [options]

Create a new AP visualization project with professional templates.

Arguments:

  • folder - Target folder name (use "." for current directory)

Options:

  • -t, --template <template> - Choose project template (default: vanilla)

Examples:

apviz create my-dashboard --template react-ts
apviz create chart-widget -t vanilla
apviz create . --template react

apviz build

Build and package your visualization project for production.

Features:

  • Compiles source code
  • Optimizes assets for production
  • Creates distribution files
  • Validates AP visualization requirements

✨ What's Included

Every template includes:

  • πŸ”§ AP SDK Integration - Pre-configured with Analytics Plus SDK
  • πŸ“Š Data Configuration - Ready-to-use pivot configurations
  • 🎨 Modern Styling - Professional CSS with responsive design
  • πŸ“ Documentation - Comprehensive comments and guides
  • ⚑ Development Server - Hot reload with Vite
  • πŸ“¦ Build System - Production-ready build configuration
  • πŸ” TypeScript Support - Full type safety (TS templates)

πŸ“ Project Structure

my-visualization/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main.tsx          # AP SDK integration
β”‚   β”œβ”€β”€ App.tsx           # Main component
β”‚   └── index.css         # Styling
β”œβ”€β”€ public/
β”‚   └── index.html        # HTML template
β”œβ”€β”€ package.json          # Dependencies
β”œβ”€β”€ vite.config.ts        # Build configuration
└── apviz.json           # AP visualization metadata

πŸ”§ Development Workflow

  1. Create Project

    apviz create my-chart --template react-ts
    cd my-chart
  2. Install Dependencies

    npm install
  3. Start Development

    npm run dev
  4. Build for Production

    apviz build

πŸ“Š AP SDK Features

All templates include pre-configured:

  • Data Roles - Category and Value mappings
  • Matrix Data View - Structured data access
  • Drill-down Support - Interactive data exploration
  • Update Handlers - Real-time data updates
  • Selection Management - User interaction handling

🎯 Template Details

Vanilla JavaScript

  • Pure ES6+ JavaScript
  • DOM manipulation
  • AP SDK integration
  • Modern CSS styling

Vanilla TypeScript

  • Full TypeScript support
  • Type-safe AP SDK usage
  • Enhanced IDE experience
  • Compile-time error checking

React

  • Modern React with hooks
  • Component-based architecture
  • JSX templating
  • State management

React TypeScript

  • Enterprise-grade setup
  • Full type safety
  • React + TypeScript best practices
  • Professional development experience

πŸ” Requirements

  • Node.js 16.0 or higher
  • npm 7.0 or higher
  • Analytics Plus environment for deployment

πŸ“§ Support

For questions, issues, or feature requests, contact Lumel Technologies.

πŸ“„ License

ISC License - Copyright (c) Lumel Technologies


Developed by Lumel Technologies