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

@winkjs/composer

v0.0.2

Published

Composable Streaming Intelligence.

Downloads

94

Readme

wink-composer ♫

Stability

✨ Real-time analytics that sparks joy

WinkComposer is an upcoming open-source framework that makes building streaming intelligence playfully simple. Connect intuitive nodes, experiment freely, perfect it in an iteration or two. From edge-ready AI algorithms to built-in resilience, everything you need for production comes standard. No complexity, no black boxes - just the joy of creating exactly what you need.

Why Composability Matters

🎯 Create What You Need — With composability, you're the inventor: Correlate vibration with weather? Done. Detect micro-trends before they become macro? Built.

💫 Countless Possibilities — Dozens of nodes → Endless pipelines. Like few music notes creating captivating symphonies.

🌱 Evolve Naturally — Start: sensor → threshold → alert. Grow: Add intelligence: sensor → normalize → smooth → detect → confirm → alert. Unconstrained by vendor feature lists.

🔍 Total Transparency — See which node triggered, what threshold crossed, why it alerted. Every decision is explainable.

Build Exactly What You Need

Build precise analytics for your unique patterns:

// Detect bearing failure in rotating equipment
vibration → isolateSignal → extractPeaks → measureIntensity →
      trackChanges → triggerAlert

// Monitor chemical process quality
temperature → removeNoise → smoothFast → smoothSlow → findDivergence →
      detectChange → waitForPersistence

// Find correlated sensor behaviors
[sensor1, sensor2] → trackCorrelation → compareToNormal → raiseFlag

// Calculate real-time OEE
machine → trackState → sumTime → countOutput →
      checkQuality → calculateScore

Each node is simple:

  • removeNoise: Median of last few values (removes sensor spikes).
  • smoothFast: Average of last 10 values (recent trend).
  • smoothSlow: Average of last 100 values (baseline trend).
  • findDivergence: Fast trend - slow trend (unusual behavior?).
  • trackCorrelation: Smart correlation (learns relationships between sensors)

Node names and details are illustrative - actual implementations may vary.

Every arrow is a conscious choice. Every node has a purpose. No magic, just simple intuitive math.

Your Analytics Journey

Start Simple
sensor → threshold → alert

Evolve Naturally
sensor → validate → normalize → threshold → debounce → alert

Scale Intelligently
sensor → [parallel: statistics | patterns | anomalies] → correlate → decide → act

Your analytics grow with your understanding, and are never limited by any tool's feature list.

Designed for the Real World

Industrial IoT

From simple threshold monitoring to complex predictive maintenance - compose what fits your equipment, your patterns, your physics. Move intelligence to the edge with analytics that run on industrial Raspberry Pis. Works alongside your existing systems to handle your unique requirements.

Financial Services

Build fraud detection you can explain to auditors. Every decision traceable, every threshold justified.

Smart Infrastructure

Energy optimization with transparent logic. See why the system made each decision.

Production-Grade Resilience

Real streams have noise. Sensors fail. Networks hiccup. WinkComposer handles it all:

  • Node-level fault isolation - One bad reading doesn't crash your pipeline
  • Automatic state recovery - Snapshot and restore without missing a beat
  • Built-in observability - Know what's happening in every node, every partition
  • Adaptive execution - Maintains responsiveness under varying load

Core Principles

| Principle | What it means | |-----------|---------------| | Atomic Operations | Each node does one thing perfectly | | Pure Functions | Predictable, testable, composable | | Transparent Logic | Understand every decision | | Production Ready | Built for high-throughput streaming with microsecond-scale latency | | AI-Native Intelligence | From statistical learning nodes to LLM reasoning - intelligence at every level | | Built for Reality | Node-level fault isolation, automatic recovery, and comprehensive observability |

What's Coming

🎉 Opening Our Doors in 2025

WinkComposer is transitioning to open source development in 2025. Join the early conversation and help shape the future of composable streaming analytics. You can even reach out directly at [email protected].

Together, we're building:

  • Rich Node Library: Statistical, filtering, detection, transformation, and control nodes
  • Edge-Ready Intelligence: Advanced algorithms like smart correlation, change point detection, and regression inference - AI-like capabilities without heavyweight frameworks
  • Pipeline Builder: Define your analytics flows declaratively (visual tools planned)
  • Edge-Ready Performance: Process data efficiently, even on resource-constrained devices (tested on Raspberry Pi)
  • Knowledge Graph Integration: Build digital twins with Neo4j/ArangoDB for contextual intelligence
  • AI-Native Reasoning: When patterns emerge, LLMs explain why. When anomalies occur, get actionable recommendations. Open-source models keep intelligence at the edge.

The Vision

Finally, build solutions that fit your exact problems, not the other way around.

Every industry has unique patterns. Every process has specific physics. Every business has particular rules. WinkComposer gives you the building blocks to create exactly what you need.

Domain-specific platforms excel at standard use cases. WinkComposer shines when you need something unique, beyond standard use cases. Standard use cases always included - they're just the beginning of what's possible!

About winkJS

WinkComposer joins the winkJS family - production-grade open-source packages for Natural Language Processing, Machine Learning, and Statistical Analysis in JavaScript. Built for reliability with ~100% test coverage.

Copyright & License

Wink Composer is copyright 2017-25 GRAYPE Systems Private Limited.

It is licensed under the terms of the MIT License.