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

openl-studio

v0.0.0

Published

- `src/App.tsx`: React entry that wires routing, providers and global state checks. - `src/components/`: Reusable presentation components (forms, menus, icons, modals). - `src/constants/`: Shared constants for roles, repositories, system flags, etc. - `sr

Readme

Studio UI

Project structure

  • src/App.tsx: React entry that wires routing, providers and global state checks.
  • src/components/: Reusable presentation components (forms, menus, icons, modals).
  • src/constants/: Shared constants for roles, repositories, system flags, etc.
  • src/containers/: Feature-level screens that orchestrate data fetching and state.
  • src/contexts/: React contexts (PermissionContext, SystemContext) consumed across the app.
  • src/hooks/: Shared hooks (useIsFormChanged, useWebSocket, etc.).
  • src/layouts/: Layout wrappers such as DefaultLayout and AdministrationLayout.
  • src/locales/: i18next resource bundles (English lives in *.en.ts files).
  • src/providers/: Cross-cutting providers (SecurityProvider).
  • src/routes/: Router configuration built with createBrowserRouter.
  • src/services/: Runtime config, REST wrapper, websocket client.
  • src/store/: Zustand stores (appStore, userStore, notificationStore).
  • src/utils/: Cross-cutting helpers (error handling, global scripts).
  • src/pages/: Standalone routes such as LoginPage, 403, 404, 500.
  • src/types/: TypeScript definitions aligned with backend DTOs.
  • src/index.tsx: React entry point, registers i18n bundles and mounts the app.
  • src/index.scss: Global styles and Ant Design overrides.
  • src/setPublicPath.ts: Configures webpack public path at runtime.

Supporting files:

  • public/: Static HTML shell and icons.
  • webpack.config.js, eslint.config.js, tsconfig.json: build and linting configuration.
  • pom.xml: Maven module that invokes the frontend toolchain via frontend-maven-plugin.

For a deeper architectural overview, see AGENTS.md.


Prerequisites

  • Node.js 24.x (used for local builds only; the backend ships bundles produced by npm).
  • npm 11.x (required for compatibility with lockfileVersion@3 in package-lock.json).
  • Java 21 and Maven (matching the root maven-compiler-plugin release). The Maven build installs Node/npm automatically and runs the npm scripts.

Quick start

# 1. Sync dependencies through Maven
mvn clean install -DskipTests

# 2. Launch the backend stack if you want a full environment (optional)
docker compose up --build

# 3. Start the React dev server (http://localhost:3100 by default)
npm run start
  • npm run start proxies API calls to http://localhost:8080 as configured in package.json. Adjust with npm run start -- --proxy http://your-host.
  • For a production bundle run npm run build (license check included). The Maven build re-runs this automatically during packaging.

Docker integration

When developing against the backend in Docker, point the containerised WebStudio to the local dev server by editing the root compose.yaml:

services:
  webstudio:
    environment:
      _REACT_UI_ROOT_: http://localhost:3100

Rebuild or restart the stack after changing the environment variable:

docker compose up --build

Useful npm scripts

  • npm run start – webpack dev server with hot reload.
  • npm run build – production build with license compliance check.
  • npm run serve – static server for the dist/ output (serve -p 3002).
  • npm run lint / npm run lint:fix – ESLint + Stylelint.

Troubleshooting

  • If npm install keeps reinstalling dependencies unexpectedly, ensure you ran the Maven sync (mvn clean install ...) first; the Maven plugin will overwrite node_modules/.
  • Websocket connection errors usually mean the backend isn’t exposing ${CONTEXT}/web/ws; check reverse proxy rules.
  • Missing translations? Import the relevant locale bundle in src/locales/index.ts and restart the dev server so webpack picks up the new module.