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

lokus-plugin-cli

v2.2.9

Published

Advanced CLI toolkit for developing Lokus plugins with interactive templates, hot-reload, and comprehensive tooling

Readme

Lokus Plugin CLI

Advanced CLI toolkit for developing Lokus plugins with interactive templates, hot-reload, and comprehensive tooling.

Installation

npm install -g lokus-plugin-cli

Note: This CLI automatically installs the @lokus/plugin-sdk (or lokus-plugin-sdk) for you when you create a new project. You don't need to install the SDK manually unless you are adding it to an existing project.

Usage

Creating a Plugin

You can create a new plugin interactively or using command-line flags.

Interactive Mode:

lokus-plugin create my-plugin

Non-Interactive Mode (using flags):

lokus-plugin create my-plugin \
  --template basic-typescript \
  --author "Lokus Team" \
  --publisher "lokus" \
  --description "My awesome plugin" \
  --skip-prompts

Partial Interactivity: You can provide some flags and let the CLI prompt for the rest:

lokus-plugin create my-plugin --template react-ui-panel
# CLI will skip template selection and ask for other details

Available Flags:

| Flag | Description | |------|-------------| | -t, --template <id> | Plugin template to use (e.g., basic-typescript, react-ui-panel) | | -a, --author <name> | Plugin author name | | -p, --publisher <id> | Publisher ID (lowercase, alphanumeric) | | -d, --description <text> | Plugin description | | --skip-prompts | Skip all prompts and use defaults/flags | | --no-typescript | Use JavaScript instead of TypeScript | | --no-git | Skip Git initialization | | --no-install | Skip dependency installation | | --testing <framework> | jest, vitest, or none | | --linting <tool> | eslint, biome, or none | | --formatting <tool> | prettier, biome, or none | | --bundler <tool> | esbuild, webpack, rollup, or vite | | --cicd <platform> | github, gitlab, or none | | --documentation <tool> | typedoc, jsdoc, or none | | --examples | Include example code | | --storybook | Include Storybook (UI templates only) | | --workspace | Setup as monorepo workspace |

Development

cd my-awesome-plugin
lokus-plugin dev

Build

lokus-plugin build

Plugin Types

  • 📝 Editor Extension - Add custom editor functionality
  • 🎨 UI Panel - Add sidebar/bottom panels
  • 🔗 Data Provider - Extend kanban/graph/search
  • 🎭 Theme Plugin - Custom themes and styling
  • 🔌 Integration - External service integration

Features

  • ✅ Interactive plugin generator
  • ✅ Multiple plugin types and templates
  • ✅ TypeScript and JavaScript support
  • ✅ Professional project structure
  • ⏳ Hot-reload development server (coming soon)
  • ⏳ Build optimization (coming soon)
  • ⏳ Plugin marketplace integration (coming soon)

License

MIT