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

gidevo-api-tool

v0.2.0

Published

Agentic API integration and SDK generation CLI for OpenAPI and GraphQL projects.

Readme

GIDEVO API Tool

CI CodeQL

Agentic API integration and SDK generation CLI for OpenAPI and GraphQL projects.

Requirements

  • Node.js 24 or newer.
  • CI tests run on Node 24 LTS and Node 26 Current.
  • v0.2 is ESM-first. Programmatic imports should use ESM import.

Install

npm install -g gidevo-api-tool

Quick Start

gidevo-api-tool doctor --spec ./specs/api.yaml
gidevo-api-tool workflow --spec ./specs/api.yaml --language typescript --output ./generated

The workflow command validates first, then generates the SDK. Use --dry-run to inspect the plan without writing files.

gidevo-api-tool workflow --spec ./specs/api.yaml --language go --dry-run --json

Commands

| Command | Alias | Purpose | | ----------------------------- | ----- | -------------------------------------------------------- | | init | i | Create an OpenAPI or GraphQL project scaffold. | | doctor | | Run read-only project health checks. | | workflow | | Validate a spec and generate an SDK in one agentic flow. | | generate | gen | Generate TypeScript, Python, or Go SDK files. | | validate | val | Validate OpenAPI or GraphQL specs. | | config | | Create or inspect .gidevorc.json. | | plugin | p | Run a loaded plugin. | | login / logout / whoami | | Manage local API-token state. |

Agentic Workflow

doctor checks the local project without writing files:

gidevo-api-tool doctor --spec ./specs/api.yaml
gidevo-api-tool doctor --spec ./specs/api.yaml --json

Checks include:

  • Node runtime compatibility.
  • Config-file validity.
  • Plugin loading.
  • Spec readability and validation.
  • Output path safety.

workflow combines the most common local loop:

gidevo-api-tool workflow \
  --spec ./specs/api.yaml \
  --language typescript \
  --output ./generated

Supported languages:

  • typescript
  • python
  • go

Existing Direct Commands

gidevo-api-tool init --template openapi --output ./my-api
gidevo-api-tool validate ./specs/api.yaml --strict
gidevo-api-tool generate --spec ./specs/api.yaml --language go --output ./generated

Config

Create a project config:

gidevo-api-tool config --init

Example .gidevorc.json:

{
  "generate": {
    "spec": "./specs/api.yaml",
    "language": "typescript",
    "output": "./generated",
    "allowOutsideProject": false
  },
  "validate": {
    "strict": false
  }
}

Command-line flags override config values.

CI And Accessibility

Global flags:

  • --no-spinner disables animated spinners.
  • --no-color disables ANSI colors.
  • --quiet suppresses banners and non-essential output.
  • --json is available on doctor and workflow for automation.

Path Safety

By default, spec and output paths must stay inside the current project root. Explicit overrides:

gidevo-api-tool generate --spec api.yaml --output ../external --allow-outside-project
GIDEVO_ALLOW_UNSAFE_PATHS=1 gidevo-api-tool workflow --spec api.yaml

Programmatic Usage

import { CodeGenerator, Validator } from 'gidevo-api-tool';

const validator = new Validator();
const result = await validator.validate('./specs/api.yaml', { strict: true });

if (result.valid) {
  const generator = new CodeGenerator();
  await generator.generate({
    spec: './specs/api.yaml',
    language: 'typescript',
    outputDir: './generated',
  });
}

Development

npm install
npm run build
npm test -- --runInBand
npm run lint
npm run format:check

v0.2 Upgrade Notes

  • Node 18 and Node 20 are no longer supported.
  • The package is ESM-first.
  • The CLI voice now uses clear developer terminology by default.
  • New doctor and workflow commands provide the agentic project loop.