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...
        }
   });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i command-manage

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • chenxingyu_o