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

@miragon/event-storming-dsl

v0.2.1

Published

Convert between the Event Storming .storm text format and the Event Storming board model, with lossless round-trips.

Readme

@miragon/event-storming-dsl

npm License: MIT

DOM-free bridge between the Event Storming .storm text DSL and the EventStormingBoard model — a lossless round-trip.

Install

npm install @miragon/event-storming-dsl

Usage

import { parseDSL, serializeDSL } from '@miragon/event-storming-dsl';

const board = parseDSL(`title Order Checkout
actor Customer [80, 300]
command Place Order [240, 300]
event Order Placed [620, 300]
Customer -> Place Order`);

const text = serializeDSL(board); // back to .storm text, losslessly

The .storm format

One statement per line. Coordinates are [x, y] in board pixels (x first), optional (default [0, 0]), unbounded — the canvas is free.

title Order Checkout            // config; also: style classic|dark
event Order Placed [620, 300]
command Place Order [240, 300] (color #ff0000)     // optional color override
actor Customer [80, 300]
aggregate Order [420, 290]
policy When order placed, ship it [800, 300]
readmodel Order Status [620, 120]
external Payment Provider [420, 520]
hotspot Double payment on retry? [620, 520]
note Design-level session [80, 80]
line [[100,100],[200,150],[180,240]] (dashed)      // freeform drawing

// arrows: name-referenced, optional label after ;
Customer -> Place Order
Order Placed -> When order placed, ship it; async

Unknown lines and comments are kept losslessly in rawPassthrough; parseDSLWithDiagnostics reports uninterpretable lines with 1-based line numbers instead of throwing.

Part of the Event Storming Modeler monorepo.

License

MIT