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

pptb-dual-write-map-viewer

v0.0.3

Published

A PPTB Tool for visualising and documenting Dual-Write maps

Readme

Dual Write Map Viewer

A Power Platform ToolBox tool for visualising and documenting Dual Write maps in Microsoft Dataverse.

Features

  • Solution Filtering - Select a solution to view only its Dual-Write maps
  • Interactive Map Viewer - Browse and select Dual Write maps from a solution
  • Multiple View Tabs:
    • Details - View field mappings with sync directions (→, ←, ⇆), default values, and value maps
    • Markdown - Generate formatted markdown documentation of the mapping
    • Source - View the raw JSON mapping data
  • React 18 with TypeScript - Modern UI framework with type safety
  • Fluent UI Components - Microsoft Fluent design system
  • ToolBox API Integration - Connection handling, notifications, and theme support
  • Dark/Light Theme Support - Automatically follows ToolBox theme settings

Installation

Install the Power Platform ToolBox @ https://www.powerplatformtoolbox.com/ and select the 'Dual Write Map Viewer' tool from the marketplace.

Usage

  1. Connect to a Dataverse environment using Power Platform ToolBox
  2. Select a solution from the dropdown to view its Dual Write maps
  3. Click on a map to view its details in the preview panel
  4. Use the tabs to switch between:
    • Details - Field mappings, value maps, and sync directions
    • Markdown - Copy-paste ready documentation
    • Source - Raw JSON mapping data
    • Diagram - COMING SOON!

Structure

pptb-dual-write-map-viewer/
├── src/
│   ├── App.tsx              # Main application component
│   ├── main.tsx             # React entry point
│   ├── index.css            # Global styles
│   ├── hooks/
│   │   ├── useDataverseApi.ts   # Dataverse API hooks for solutions and maps
│   │   └── useToolboxAPI.ts     # ToolBox API hooks
│   ├── components/
│   │   ├── DualWriteMapList.tsx      # List of Dual-Write maps in selected solution
│   │   ├── DualWriteMapPreview.tsx   # Multi-tab preview component
│   │   └── SolutionPicker.tsx        # Solution selection dropdown
│   └── icons/
│       └── app-icon.svg         # Tool icon
├── dist/                    # Build output
├── index.html
├── package.json
├── tsconfig.json
└── vite.config.ts

Development

Install dependencies:

npm install

Start development server with HMR:

npm run dev

Build the tool:

npm run build

Preview production build:

npm run preview

Building and Installing

  1. Build the tool: npm run build
  2. Package the dist/ folder
  3. Install in ToolBox
  4. Load and use from the ToolBox interface

Technical Details

Dependencies

  • React 18 with TypeScript
  • Vite for fast development and building
  • Fluent UI React Components for the UI
  • Mustache for template rendering
  • React Markdown for documentation generation
  • React Syntax Highlighter for code display

License

MIT