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.0.4

Published

API documentation and Postman collection generator for ArikaJS.

Downloads

567

Readme

Arika Docs

@arikajs/docs is the documentation engine of the ArikaJS ecosystem.

It allows you to automatically generate high-quality API documentation, Postman collections, and OpenAPI specifications by analyzing your application's routes.

The goal of this package is to eliminate the manual work of keeping documentation in sync with your codebase.


Status

  • Stage: Experimental / v0.x
  • Scope (v0.x):
    • Route metadata extraction from @arikajs/router
    • Postman Collection (v2.1.0) generation
    • Arika-themed interactive HTML documentation
    • Markdown (DOCS.md) generation
    • OpenAPI 3.0 specification generation

Features

  • Multi-Format Generation

    • HTML: A premium, interactive web page for your API.
    • Postman: Ready-to-import JSON collection with pre-configured headers.
    • OpenAPI: Industry-standard Swagger/OpenAPI 3.0 specification.
    • Markdown: Clean, readable DOCS.md for GitHub or local documentation.
  • Route Analysis

    • Automatically groups endpoints by prefix (e.g., api, admin).
    • Captures route names, methods, and full path hierarchies.
    • Displays middleware information for each endpoint.
  • Environment Support

    • Automatically generates Postman environment JSON with your base_url.

Installation

npm install @arikajs/docs

This package is designed to be used with the ArikaJS CLI but can also be used as a standalone library.


Usage (via CLI)

The easiest way to generate documentation is using the ArikaJS CLI:

arika docs:generate

This will create a docs/ directory in your project root containing all generation artifacts.


Standalone Usage

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

const generator = new DocumentationGenerator();
generator.generateAll('My App Name', './docs-output');

Project Structure

Inside the docs package:

  • src/
    • PostmanGenerator.ts – Handles Postman JSON generation
    • HtmlGenerator.ts – Handles premium HTML documentation
    • MarkdownGenerator.ts – Handles Markdown generation
    • OpenApiGenerator.ts – Handles OpenAPI 3.0 generation
    • Generator.ts – The main orchestrator
    • index.ts – Public exports

Philosophy

“Your code is the source of truth; your documentation should reflect it instantly.”


Contributing

Contributions are welcome, especially around:

  • Adding support for JSDoc-based parameter descriptions.
  • Enhancing the HTML documentation search and "Try it out" features.
  • Adding support for more documentation formats.

License

@arikajs/docs is open-sourced software licensed under the MIT license.