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

@dynamic-widget/enterprise

v1.2.0

Published

Enterprise licensing and feature APIs for Dynamic Widget.

Readme

@dynamic-widget/enterprise

Enterprise licensing, feature flags, and gated APIs for Dynamic Widget — charts, branching wizard, rules engine, designer patches, plugins, and AI toolkit hooks. Built on @dynamic-widget/core.

i18n (labelKey, schema.locales, [locale], RTL), markdown, file upload, and async binding (optionsFrom + host dataProvider) ship in Community via core — no enterprise module required. Virtual tables (props.virtualize on large tables) and multi-file upload require enterprise flags (canDesigner). Advanced ICU/pluralization is on the roadmap.

Current release: 1.2.0 — See CHANGELOG and monorepo CHANGELOG.

Live demo & docs: https://dynamic-widget-app.vercel.app/ — read the enterprise guide and licence pricing.

Requires @dynamic-widget/core ^1.2.0. Used as an optional peer by @dynamic-widget/react, @dynamic-widget/angular, and @dynamic-widget/js.

What's new in 1.2.0

  • Charts in editable tabs and designer preview use canChart (module integrated-charting).
  • Plugin palette entries in the packaged form designer preview require canPlugins.
  • Visual form schema designer (dw-schema-designer, SchemaDesigner, createSchemaDesigner) mounts without a licence; enterprise flags only gate preview features (charts, plugins, etc.).

Keywords: dynamic-widget enterprise licensing charts rules-engine designer virtual-table plugins ai-toolkit

Install

npm install @dynamic-widget/enterprise @dynamic-widget/core

Usage

import {
  registerEnterpriseLicense,
  getEnterpriseFeatureFlags,
  assertEnterpriseFeature,
} from "@dynamic-widget/enterprise";

registerEnterpriseLicense({
  key: "issued-by-your-server",
  modules: ["integrated-charting", "designer", "rules-engine"]
});
const flags = getEnterpriseFeatureFlags();

assertEnterpriseFeature("integrated-charting"); // throws if not licensed

For local demos, use registerEnterpriseLicenseFromPredefinedKey with the key from the demo workbench (do not hard-code in production apps).

Pass your entitlement key to framework adapters:

<DynamicWidget enterpriseLicenseKey={licenseFromServer} schema={schema} />
<dynamic-widget [enterpriseLicenseKey]="licenseFromServer" [schema]="schema" />

API

License registration

| Function | Description | | --- | --- | | registerEnterpriseLicense(license) | Set a custom EnterpriseLicense object. | | registerEnterpriseLicenseFromPredefinedKey(key) | Lookup built-in demo keys; returns boolean. | | clearEnterpriseLicense() | Reset to community-only flags. | | getEnterpriseLicense() | Active license or null. | | isEnterpriseLicenseActive() | Key present and not expired. |

Feature flags

| Function / export | Description | | --- | --- | | getEnterpriseFeatureFlags() | Snapshot of enabled modules. | | isFeatureAllowed(flags, feature) | Check a single EnterpriseFeature. | | flagsFromLicenseModules(modules) | Build flags from licence module list. | | ALL_ENTERPRISE_FLAGS / NO_ENTERPRISE_FLAGS | Flag presets. |

Gated capabilities

EnterpriseFeatures bundles:

  • aicreateAiWidgetInsight
  • charting{ createChartSpec, renderChartToSvg }
  • rulesapplyRules
  • designer{ applyDesignerPatch, createEmptySchema } (also enables virtual table scrolling when props.virtualize is set)

Also re-exports registerWidgetPlugin, listRegisteredPlugins, BUILTIN_WIDGET_TYPES, and designer helpers from core.

Community vs enterprise surfaces

| Surface | Licence to mount | Enterprise flags used in preview | | --- | --- | --- | | Form schema designer (/designer) — dw-schema-designer / SchemaDesigner / createSchemaDesigner | None (Community) | canChart, canPlugins, etc. for live preview widgets | | Editable tabs dashboard designer (demo workbench, canDesigner) | designer module | Charts, virtual tables, full tab chrome |

Pass enterpriseLicenseKey on adapters so preview and runtime widgets respect your modules.

Browser support

Licensing and flags are in-memory and work in any JS environment. Chart SVG and AI features run in the browser when used through renderDomTree or framework adapters.

Related packages

License

MIT