@docxkit/loader
v0.4.0
Published
Plugin loader for docx-kit with platform-specific sources
Readme
@docxkit/loader
Plugin loader for docx-kit. Supports loading plugins from inline definitions, npm packages, URLs (browser), and local files (Node.js).
Installation
npm install @docxkit/loaderUsage
import { PluginLoader } from '@docxkit/loader'
const loader = new PluginLoader()
await loader.load({ name: 'my-plugin', source: 'inline', definition: {...} })