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