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

@ashwindojo/codeatlas-core

v0.1.4

Published

Core annotation parser and AST indexer for CodeAtlas — business flow intelligence for frontend applications

Downloads

542

Readme

@ashwindojo/codeatlas-core

npm downloads License: MIT Node.js

Annotate your React, Vue, or Svelte components with business context — then query your entire codebase with AI.

CodeAtlas parses @productFlow, @productState, @ownership, and 22 other annotations from your source files, builds a live business-flow graph, and exposes it to Claude, Cursor, and other MCP-compatible AI tools.


Install

npm install @ashwindojo/codeatlas-core

Index your codebase in 30 seconds

npx codeatlas index ./my-app
✓ Indexed 42 files in 68ms
◆ 4 flows: payments, auth, dashboard, onboarding
◆ 31 annotated nodes
Output: .codeatlas/index.json

Annotate your components

Add annotations as comments — no build changes required:

/**
 * @productFlow("payments")
 * @routeHandler("/checkout")
 * @ownership("payments-team")
 */
export default function CheckoutPage() { ... }
// @productState("payments")
// @critical
export const paymentSlice = createSlice({ ... })

// @selector("getPaymentStatus")
export const selectStatus = (state) => state.payments.status

25 built-in annotations

| Category | Annotations | |---|---| | Flow | @productFlow @routeHandler @flowEntry @flowStep @layout | | State | @productState @selector @action | | API | @productApi @integration | | Feature | @productFeature @experiment @permission @analytics | | Component | @provider @consumer @errorBoundary @lazyLoad @crossFlow | | Domain | @domainEntity @ownership @lifecycle @critical @deprecated @mock |

All three styles work: JSDoc blocks, // line comments, and TypeScript decorators.

Add your own annotations

import { indexRepo } from '@ashwindojo/codeatlas-core'

const index = await indexRepo('./my-app', {
  customAnnotations: [
    { name: 'workflow',    description: 'Multi-step business workflow', category: 'flow' },
    { name: 'featureFlag', description: 'Behind a feature flag',        category: 'feature' },
  ],
})

CLI reference

codeatlas index [path]   # scan and write .codeatlas/index.json
codeatlas flows [path]   # print detected flow names

Part of the CodeAtlas ecosystem

| Package | What it does | |---|---| | @ashwindojo/codeatlas-core | Parser, indexer, CLI ← you are here | | @ashwindojo/codeatlas-vite-plugin | Live MCP server inside vite dev | | @ashwindojo/codeatlas-mcp | Standalone MCP server for Claude Desktop & Cursor |


MIT © 2026