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

@antelopejs/dms-lang

v0.0.4

Published

<div align="center"> <a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue?style=for-the-badge&labelColor=000000"></a> <a href="https://discord.gg/sjK28QHrA7"><img src="https://img.shields.io/badge/Discord-18181

Readme

@antelopejs/dms-lang

Language and translation management for AntelopeJS DMS, available under /modules/lang.

It provides:

  • Overview — workspace and locale summaries, translation coverage, and the public locale endpoint.
  • Translations — a key-by-locale matrix with missing-translation filtering.
  • Workspace selection — a global sidebar widget for switching workspaces.

Installation

Add the module to a project that already uses @antelopejs/dms:

ajs project modules add @antelopejs/dms-lang

Configuration

Workspace mutations are disabled by default. Enable them explicitly in antelope.config.ts when the running process should be allowed to create, rename, and delete workspaces, locales, keys, and translations:

config: {
  editable: true,
}

Added workspaces are stored in the module's i18n-workspaces directory. The module also registers its bundled locale source and registry as a DMS frontend module.

Development

pnpm install
pnpm build
pnpm test

Vue and Inertia development

The backend registers frontend-vue/dms.frontend.ts through AddFrontendModule with the Vue 3 renderer. It exposes DmsLang* component names, pages and the sidebar widget. Nuxt is not required; @nuxt/ui provides its Vue components through the adapter's Vite integration.

The module compiles against the published @antelopejs/interface-dms package, its only DMS runtime dependency. The @antelopejs/dms backend and the @antelopejs/dms-frontend adapter are development dependencies, needed to run the tests and the playground. Run pnpm install, pnpm build and pnpm test here.

pnpm test:unit checks locale discovery and fallback normalization. pnpm test:frontend compiles the module alongside the published core DMS frontend with the adapter's source verifier.

Run pnpm dev for the backend and pnpm frontend:dev for the Inertia workspace. Use pnpm typecheck for the backend; run pnpm typecheck in the generated Vite workspace for frontend types. The adapter owns the generated aliases, auto-import declarations and Vue compiler configuration.

Locale sources no longer require a frontend build

At module startup, Lang obtains the registered frontend sources through GetFrontendModules(), after backend construction completes. Each translation read discovers JSON files under i18n/locales, including the DMS's nested layers/* directories. Files follow the adapter convention, such as app-en-GB.json and lang-fr-FR.json. Changes to files appear on subsequent reads; registering another frontend module requires restarting the backend.

Module translations remain external and read-only. An application's frontend registration marks its own writable translations with options: { dmsI18nAppLayer: true }, replacing the same flag in its old Nuxt configuration. The playground demonstrates this registration. Editing also requires the existing Lang editable: true setting. No locale path list or generated registry file is required.