Command module
npm install @lvce-editor/commandCommand module.
``sh`
npm install @lvce-editor/command
`js
import * as Command from '@lvce-editor/command'
const fn = () => {
return 'abc'
}
Command.register('command-name', fn)
await Command.execute('command-name')
``
