Dubnium
v3
v3
  • Overview
  • API
    • Initialize
    • Manage
    • Get
    • Edit
    • Search
    • Miscellaneous
    • Middleware
    • Versioning
  • TEMPLATES
    • JSON
    • String
  • EXTENSIONS
    • Setup
    • Create
    • Find
  • OTHER
  • CLI
  • Events
  • Update Log
  • EXTERNAL LINKS
    • Need more help?
    • Report an Issue
Powered by GitBook
On this page
  • Create
  • Publish

Was this helpful?

  1. EXTENSIONS

Create

Create

If you want to create a Plugin to publish on NPM, copy the code below and put the source in the exported method.

Write your plugins in Commonjs to allow either Commonjs or ESM support!

new_extension.js
module.exports = (database, record) => {
// database & record can be null, depending on the permissions. Be sure to be able to handle that!
}

Publish

If you want to add it to our Extension Finder, publish it to npm with dubnium as a keyword.

PreviousSetupNextCLI

Last updated 1 year ago

Was this helpful?