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

@mochabug/adaptkit

v1.0.0-rc.41

Published

A cmd to create, emulate and publish Mochabug Adapt plugins

Readme

@mochabug/adaptkit

@mochabug/adaptkit is the official CLI tool for developing and managing plugins for the Mochabug Adapt platform. Built with Node.js 22 compatibility, adaptkit streamlines the entire plugin development workflow.

Key Features

  • Create new plugin projects with scaffolding
  • Add vertices (tasks) to existing plugins
  • Emulate plugins locally for testing
  • Publish plugins to the Mochabug Adapt platform
  • Manage plugin versioning with semantic versioning

Plugin Architecture

Plugins are composed of vertices - the fundamental building blocks that define tasks. Each vertex consists of:

Executor (Required)

The core logic that performs tasks. Available types:

  • Action - Performs tasks without external system interactions
  • Cron Trigger - Executes tasks at scheduled intervals
  • External Trigger - Responds to external endpoint events
  • Browser - Runs tasks within a browser environment

Configurator (Optional)

Provides UI for customizing executor behavior on the Mochabug Adapt platform.

Installation

npm install -g @mochabug/adaptkit

Commands

Initialize a Plugin Project

adaptkit init

Creates a new plugin with manifest.json, executor/configurator templates, and schema files.

Add Vertices to Your Plugin

adaptkit add

Interactively adds new vertices to your existing plugin project.

Emulate Plugin Locally

adaptkit emulate

Test your plugin in a local environment. Requires the Mochabug Adapt sandbox:

docker run --rm -it -p 51001:51001 -p 51002:51002 -p 51003:51003 -p 51004:51004 -p 51005:51005 mochabug/adaptsandbox:latest

The 5 ports simulate different vertex types, the graphical interface, and the adaptkit publish endpoint.

Publish to Mochabug Adapt

adaptkit publish

Deploy your plugin to the Mochabug Adapt platform for production use.

Version Management

adaptkit version --patch  # Increment patch version
adaptkit version --minor  # Increment minor version
adaptkit version --major  # Increment major version

Updates the semantic version in your plugin's manifest.json.

Node.js 22 Compatibility

Adaptkit is built with full Node.js 22 support, leveraging modern JavaScript features and native ES modules for optimal performance and compatibility.

Documentation

For comprehensive documentation and API references, visit Mochabug Developer Portal.

Contributing

We welcome community contributions! Please open an issue or submit a pull request on GitHub.

License

Apache License 2.0