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

ludgi-cli

v3.0.5

Published

CLI tool for managing GraphQL resources

Readme

██╗     ██╗   ██╗██████╗  ██████╗ ██╗
██║     ██║   ██║██╔══██╗██╔════╝ ██║
██║     ██║   ██║██║  ██║██║  ███╗██║
██║     ██║   ██║██║  ██║██║   ██║██║
███████╗╚██████╔╝██████╔╝╚██████╔╝██║
╚══════╝ ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝
Manage your GraphQL resources effortlessly with Ludgi CLI

Ludgi CLI

Ludgi CLI is a powerful, intuitive, and developer-friendly Command Line Interface (CLI) tool designed for managing GraphQL resources with ease. Whether you're working on a small project or a large-scale application, Ludgi CLI provides the tools you need to streamline your GraphQL workflow.


Project-Specific Notice

Important:
The Ludgi Next.js Project is a reference project that demonstrates various ways to utilize GraphQL-related modules. It serves as an example of how to integrate different approaches, and a dedicated course covering these use cases is currently in development.

If you want to use GraphQL purely with CLI-based integration, refer to the Ludgi-GraphX project. This project is specifically designed for setting up a new GraphQL project using GraphQL CLI, making it a suitable starting point for CLI-based GraphQL development.


Installation

To get started, install Ludgi CLI as a development dependency:

npm install ludgi-cli --save-dev

Features

  • Auto-Generate GraphQL Queries & Mutations: Create resources with a single command.
  • Comprehensive Resource Management: List, delete, or modify your queries and mutations effortlessly.
  • Interactive CLI Options: Access a user-friendly interface with help and version commands.

Usage

Ludgi CLI commands are simple yet powerful. Below are the key commands to help you navigate the tool.

Display Version

npx ludgi-cli -V

Outputs the current version of the Ludgi CLI.


Display Help

npx ludgi-cli -h

Displays a comprehensive list of available commands and their usage.


Generate a Query or Mutation

npx ludgi-cli -n <name>

Generates a new GraphQL query or mutation file with the specified name.

Example:

npx ludgi-cli -n getUserProfile

List All Queries & Mutations

npx ludgi-cli -l

Lists all existing GraphQL queries and mutations in your project.


Delete a Query or Mutation

npx ludgi-cli -d

Deletes a specified GraphQL query or mutation.


Animated Workflow

When you execute a command, Ludgi CLI provides an elegant, animated output, enhancing the user experience. For example:

  • Version Command (-V): Displays the version with a typewriter animation.
  • Help Command (-h): Dynamically highlights options as they are displayed.
  • Resource Management: Displays a spinner animation during execution and a success banner on completion.

Why Ludgi CLI?

  • Efficiency: Speeds up your GraphQL resource management.
  • Consistency: Ensures uniform resource naming and structure.
  • Developer-Friendly: Designed with user experience at the forefront.

Example Workflow

Step 1: Install Ludgi CLI

npm install ludgi --save-dev

Step 2: Create a Query

npx ludgi-cli -n <name>
# usage: npx ludgi-cli -n getUserProfile

Step 3: List All Resources

npx ludgi-cli -l

Step 4: Delete a Resource

npx ludgi-cli -d

Get Started Today!

Simplify your GraphQL development process with Ludgi CLI. Install now and take your workflow to the next level.

npm install ludgi --save-dev