command-manage

1.0.2 • Public • Published

command-manage

命令管理

Install

   npm install --save-dev command-manage

Examples

   var command = require('command-manage')();

   command.add({
        name: 'moveBox',
        execute: function () {
            //body...
        },
        undo: function () {
           //body...
        }
   });

Readme

Keywords

Package Sidebar

Install

npm i command-manage

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • chenxingyu_o