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

@opengis/docm

v0.1.15

Published

<!-- ![alt text](https://cdn.softpro.ua/data/npm/admin/opengis-admin.png) -->

Readme

@opengis/docm

NPM version NPM last update NPM downloads js-standard-style

This service provides a robust platform for dynamic document generation and template lifecycle management, enabling teams to create, manage, and export documents from structured data with full control over content and formatting.

Features

  • Template Registry – Centralized governance of templates with full lifecycle control and auditability
  • Multi-Format Support – Standardize document creation across DOCX, HTML, and Markdown formats
  • Dynamic Data Binding – Structured variable schema for consistent and controlled data injection
  • Flexible Generation Engine – Integrate with internal systems via JSON, forms, or external IDs
  • Document Lifecycle Management – Enforce workflows from draft to approval, signing, and closure
  • Document Registry – Maintain a single source of truth with filtering, metadata, and traceability
  • Real-Time Preview – Validate outputs instantly with controlled sample data
  • Post-Generation Editing – Enable controlled updates while preserving document integrity
  • Export & Compliance – Generate PDF/DOCX outputs for legal and operational use

Install

npm i @opengis/docm

Usage

bun fcore-migrate --package @opengis/docm

Fastify / FCore server

import { createFCore } from "@opengis/fcore";
import fcoreFastify from "@opengis/fcore/fastify";

import {
  createDocmRoutes,
  resourcesDocm,
  dictionariesDocm,
} from "@opengis/docm/plugin";

// fcore init
const ctx = await createFCore({
  /*resources*/
});
await fcoreFastify(ctx)(app, {});

// docm register
app.register(createDocmRoutes(ctx));
ctx.resource.register(resourcesDocm);
ctx.dictionary.register(dictionariesDocm);

app.addHook("onClose", () => ctx.close());
await app.listen({ port: 3000 });

The plugin adds DocM routes at /api/docm. Pass an existing FCore context to createDocmRoutes; the host owns its lifecycle.

Frontend

// router.config
export default [
  {
    path: "/templates/:id?",
    component: () => import("@opengis/docm").then((m) => m.TemplateCard),
    props: { routePath: "/templates/:id?" },
  },
  {
    path: "/documents/:id?",
    component: () => import("@opengis/docm").then((m) => m.DocumentCard),
  },
];

Data Provider

const resourceList = {
  code: "docm-resources",
  name: "Перелік ресурсів",
  items: [
    { code: "invoices", name: "Рахунки" },
    { code: "contracts", name: "Договори" },
  ],
};
export default resourceList;

Documentation

For a detailed understanding of dataset, its features, and how to use them, refer to our Documentation.

Technology stack

Contribute

Feel free to contact us through our website SOFTPRO.UA or email [email protected]

  • Report bugs
  • Share your ideas
  • Ask questions

Follow Us

Official site

License

Copyright © SOFTPRO. All rights reserved.