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

@arikajs/docs

v0.10.8

Published

API documentation and Postman collection generator for ArikaJS.

Readme

@arikajs/docs

Modern, Automated, and Multi-Format Documentation for ArikaJS

npm version License: MIT


🚀 Purpose

@arikajs/docs is the official documentation engine for the ArikaJS ecosystem. It eliminates the manual work of maintaining API docs by analyzing your application's routes and automatically generating high-quality artifacts in multiple formats.

With one command, you can have a full suite of Postman collections, OpenAPI specs, and interactive HTML documentation that stays perfectly in sync with your codebase.


✨ Feature Highlights

  • 🎨 Multi-Format Generation - HTML, Postman (v2.1), OpenAPI (3.0), and Markdown.
  • 🔍 Intelligent Analysis - Automatically groups endpoints and detects parameters.
  • 📡 Live Sync - Generates docs based on your actual route definitions.
  • 🎯 Prefix Filtering - Generate documentation for specific API versions or modules.
  • 🍱 Modular & Optional - Install it only when you need it.
  • 🪄 Dynamic CLI Integration - Adds docs:* commands to your Arika CLI automatically.

📦 Installation

Install the package via npm:

npm install @arikajs/docs

Once installed, use the Arika CLI to safely scaffold your documentation config:

node arika docs:install

🛠️ Configuration

The installation command creates a config/docs.ts file. You can customize your output paths and exclusions there:

export default {
    title: 'My Awesome API',
    version: '1.0.0',
    output: {
        html: './docs/html',
        postman: './docs/postman_collection.json',
        openapi: './docs/openapi.yaml',
    }
};

📚 Basic Usage

1. Register the Provider

Add the DocsServiceProvider to your bootstrap/app.ts to enable documentation commands:

import { DocsServiceProvider } from '@arikajs/docs';

app.register(DocsServiceProvider);

2. Generate Documentation

Run the generator command to scan your routes and create the artifacts:

node arika docs:generate

🛡️ Safety Policy

The @arikajs/docs package follows a strict non-destructive installation policy:

  • docs:install will never overwrite your existing config/docs.ts unless the --force flag is used.
  • It will never modify or delete your application's route logic or controllers.

📝 License

ArikaJS Docs is open-sourced software licensed under the MIT license.