https://github.com/lvce-editor/command
Command
https://github.com/lvce-editor/command
Last synced: about 2 months ago
JSON representation
Command
- Host: GitHub
- URL: https://github.com/lvce-editor/command
- Owner: lvce-editor
- License: mit
- Created: 2024-10-11T17:18:19.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T08:16:42.000Z (3 months ago)
- Last Synced: 2025-03-02T09:24:31.758Z (3 months ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Command
Command module.
## Install
```sh
npm install @lvce-editor/command
```## Usage
```js
import * as Command from '@lvce-editor/command'const fn = () => {
return 'abc'
}Command.register('command-name', fn)
await Command.execute('command-name')
```## Gitpod
[](https://gitpod.io/#https://github.com/lvce-editor/command)