1.2.0 • Published 12 months ago
@lvce-editor/command v1.2.0
Command
Command module.
Install
npm install @lvce-editor/commandUsage
import * as Command from '@lvce-editor/command'
const fn = () => {
return 'abc'
}
Command.register('command-name', fn)
await Command.execute('command-name')