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

@regira/modules

v6.3.3

Published

Regira front-end library: TypeScript utility modules and Vue 3 components for building SPAs against a Regira.Entities API.

Readme

Regira Modules

@regira/modules — the Regira front-end library: TypeScript and Vue 3 building blocks (entities/CRUD, http, ioc, auth, ui, formatters, …) that pair with the Regira back-end packages.

Documentation

regira.github.io/Regira-Modules publishes all of the below as a searchable site — the same markdown, cross-linked, with a module sidebar.

Each module ships a developer README (linked below) with deeper guides under its docs/ folder where present. Building a Vue 3 SPA against a Regira.Entities API? Start with the entities client; otherwise pick a module from the tables.

Vue modules

| Module | Developer docs | | -------------------------------- | -------------------------------------------------- | | Entities (Vue CRUD client) | src/vue/entities | | HTTP (shared axios + helpers) | src/vue/http | | IoC (service container) | src/vue/ioc | | Auth (JWT bearer auth) | src/vue/auth | | UI (components & plugins) | src/vue/ui | | App (lifecycle & culture) | src/vue/app | | Lang (i18n) | src/vue/lang | | Formatters | src/vue/formatters | | Directives | src/vue/directives | | Online (connectivity) | src/vue/online | | Debug | src/vue/debug | | Vue Helper (composition helpers) | src/vue/vue-helper |

Core (framework-agnostic)

| Module | Developer docs | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | | Utilities | src/utilities | | Extensions | src/extensions | | TreeList | src/treelist | | Events | src/events | | IO (file/image helpers) | src/io | | Entities (dormant — legacy entity client; the @regira/modules/entities subpath exists, but its barrel currently exports nothing) | src/entities | | Firebase (dormant — Realtime Database REST EntityService + AuthenticationService) | src/firebase | | Identity (dormant — IdentityManager: login/refresh state with auto-refresh, broadcasting via Events) | src/identity |

Consuming the library is covered under Install below.

Updating

npx npm-check-updates
npx npm-check-updates -u

npm install

npm audit fix

Publish

Publishing to the npm registry runs through .github/workflows/publish-npm.yml. Release flow:

  1. Bump the version (or verify it already exceeds the last published release):
    npm version patch --no-git-tag-version
    (patch covers fixes and doc-only changes, minor backward-compatible features, major breaking changes. Published npm versions are immutable, so the new version must exceed the last release — if it was already bumped since the last publish, reuse that bump rather than adding another.)
  2. In CHANGELOG.md, turn the Unreleased block into a ## <version> — <date> heading.
  3. Commit, then tag and push:
    git tag v<version> && git push origin main v<version>   # <version> = the version in package.json
    The workflow verifies the tag matches package.json, the version is not already on npm, and the changelog has the release heading; it then type-checks, tests, builds (via prepare), and publishes with provenance. It can also be run manually from the Actions tab.

The workflow needs the NPM_TOKEN repository secret. For the first publish this must be an all-packages (or org-scoped) npm access token — a granular token cannot be scoped to a package that does not exist on the registry yet. After the first publish it can be swapped for a granular token narrowed to read/write on the @regira/modules package.

Install

Published to the npm registry as @regira/modules (source: https://github.com/Regira/Regira-Modules):

npm install @regira/modules

npm install resolves the latest published version and writes the caret range to package.json — don't pin a specific version by hand.

package.json defines full exports subpaths, so consumers import the published specifiers directly — no Vite alias or tsconfig path required:

import { EntityBase } from "@regira/modules/vue/entities"
import { useAxios } from "@regira/modules/vue/http"

Redundant with the exports subpaths above — use it only for an app already written against the @/regira/* specifier.

vite.config.ts

resolve: {
    alias: [
        // order is important!
        { find: "@/regira", replacement: fileURLToPath(new URL("./node_modules/@regira/modules/dist", import.meta.url)) },
        { find: "@", replacement: fileURLToPath(new URL("./src", import.meta.url)) },
    ]
}

tsconfig.app.json

  "compilerOptions": {
    "paths": {
      "@/regira/*": ["./node_modules/@regira/modules/dist/*"],
      "@/*": ["./src/*"]
    },
  }

Symlinks (legacy)

mkdir "node_modules\@regira"
mklink /J "node_modules\@regira\modules" "C:\Projects\Regira\Regira-Modules\src"

The junction has to sit at the scoped path — a directory name cannot contain /, so the @regira folder must exist before the link is created.

vite.config.ts

  // ...
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", import.meta.url)),
    },
    preserveSymlinks: true
  },
  // ...
  server: {
    fs: {
      allow: [
        "C:/Projects/Regira" // add to enable symlink...
      ]
    }
  }

License

Apache License 2.0 — see LICENSE. This library contains no license validation. The Regira back-end packages have their own licensing — see Regira-Packages licensing.