{"_id":"@dgiot/dgiotbus","_rev":"9-6cb6000499cf3b7f768fb3638ee53574","name":"@dgiot/dgiotbus","description":"dgiot front-end storage middleware","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@dgiot/dgiotbus","version":"1.0.0","keywords":["dgiot","dgiotBus","vue","storage","eventsBus"],"author":{"url":"h7ml@qq.com","name":"h7ml"},"license":"MIT","_id":"@dgiot/dgiotbus@1.0.0","maintainers":[{"name":"h7ml","email":"h7ml@qq.com"}],"homepage":"https://github.com/dgiot/dgiotBus#readme","bugs":{"url":"https://github.com/dgiot/dgiotBus/issues"},"dist":{"shasum":"89ef0020115fbc7944e77c7bec3764162571f598","tarball":"https://registry.npmjs.org/@dgiot/dgiotbus/-/dgiotbus-1.0.0.tgz","fileCount":15,"integrity":"sha512-WJgm9JytCfwURVD2xNuCJzRW1lPT5vMONOappsS+N+0cwi6swbfVyIP6gfItiCj7RkRrY74nPn0/jtR8UEwm2w==","signatures":[{"sig":"MEUCIEQkiuIMl9cgDyssbXbt6cZPAJlQOa0cPJqUj7kkli86AiEAmg7IZ0lbrTNE63I4HF8wtB6ZfdY2KVya41lymOc86b8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOvVdCRA9TVsSAnZWagAAzrcP/3M4iBYpmtWHfLE4G+Hb\nfuuTfhRJiCzzo42m7MSv26qr9/YtX9leTH8IUznrn5oi0kV3A3gIrwwoLy+g\njoUA0qzyeorgGXeaO9xNhqpa+G2KEv4oXdZFd0aOSoEmCFgZIs8CKPRyqVLj\nvZgPAfHGeB5Ljki9u3S7oWlWC8beUeD6/JhrxWmapxxLhkmQKiKFfHtp+r5a\n4+9HXCs3ALlWLgkTk5vcOiIW1GP6qbJM2fxhue4zewFT0gBp+xr7YCOmeUA5\nPIBSrGrQuYQBxApWmMfEo2BsuHfwfuWZcngD18v2Q1RxuUdrzjP9P0dTWnA+\nPdv37X+ds9IbFkbO3n0bXfiNov6wpNW84fRxtggdjSCGGgBuIVi7S2/a+s7Z\nttCOLDI/xGmYq7TwGpDbKgqz6qp/Ojt/QYQjeL82tcegmfSWB/FpPS/B80vK\n7rArCXy9ClMnAC4jsiFwEGeBLJfGkN1zb273mp3kWMr+69Q/yYTqHVNDUrEK\n9ynboycfZeSrMJ5KBqcGO/dLnv/99x8XrckYDhSNFkWYxA4yNIvbsMB6dwxn\nJUX99MAn19dlbjCFzaxwNg+9MtS4WVl9tbwidDIPYUx2dDe1X7MYuxhMOWX6\n0sx5iq7Bzb+YSz7JX2cK864w599O22fopXtyys0OkvlAx5ArfIMQg2Zxnong\n0Bra\r\n=i+nk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/dgiotBus.cjs.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"unpkg":"dist/dgiotBus.js","module":"dist/dgiotBus.esm.js","browser":"dist/dgiotBus.umd.js","gitHead":"74837205f295aa8165003a58a1cc644acde968b5","scripts":{"dev":"rollup -c -w","lint":"lint-staged","pull":"./pull","push":"./push","build":"rollup -c","eslint":"eslint . --ext .js --fix","format":"prettier --write '**/*.{js,jsx,ts,tsx,json,md}'","codecov":"codecov","git:add":"git add -A","husky:add":"husky add .husky/pre-commit 'npm run lint'","karma:init":"karma init ./karma.conf.js","karma:test":"karma start ./karma.conf.js","husky:prepare":"husky install"},"_npmUser":{"name":"h7ml","email":"h7ml@qq.com"},"jsdelivr":"dist/dgiotBus.js","repository":{"url":"git+https://github.com/dgiot/dgiotBus.git","type":"git"},"_npmVersion":"6.14.10","description":"dgiot front-end storage middleware","directories":{},"lint-staged":{"*.{js,ts,jsx,tsx}":["eslint . --fix","prettier --config .prettierrc --write ."]},"_nodeVersion":"14.15.4","dependencies":{"vue":"^2.6.14"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","husky":"^6.0.0","karma":"^6.3.2","mocha":"^8.3.2","eslint":"^7.24.0","rollup":"^2.50.1","codecov":"^3.8.1","core-js":"^3.11.0","webpack":"^5.31.2","prettier":"^2.2.1","karma-chai":"^0.1.0","@babel/core":"^7.13.15","karma-mocha":"^2.0.1","lint-staged":"^10.5.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","karma-webpack":"^5.0.0","@babel/runtime":"^7.13.10","karma-coverage":"^2.0.3","@babel/polyfill":"^7.12.1","@babel/preset-env":"^7.13.15","@rollup/plugin-json":"^4.1.0","rollup-plugin-babel":"^4.4.0","@babel/eslint-parser":"^7.13.14","karma-mocha-reporter":"^2.2.5","rollup-plugin-terser":"^7.0.2","babel-plugin-istanbul":"^6.0.0","karma-chrome-launcher":"^3.1.0","eslint-config-prettier":"^8.1.0","eslint-plugin-prettier":"^3.3.1","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@babel/plugin-transform-runtime":"^7.13.15","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-transform-arrow-functions":"^7.13.0","@babel/plugin-transform-async-to-generator":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/dgiotbus_1.0.0_1631253853734_0.011437716300345846","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@dgiot/dgiotbus","version":"1.0.1","keywords":["dgiot","dgiotBus","vue","storage","eventsBus"],"author":{"url":"h7ml@qq.com","name":"h7ml"},"license":"MIT","_id":"@dgiot/dgiotbus@1.0.1","maintainers":[{"name":"h7ml","email":"h7ml@qq.com"}],"dist":{"shasum":"de197866759fc8229ff5e0aec007f025b2afb314","tarball":"https://registry.npmjs.org/@dgiot/dgiotbus/-/dgiotbus-1.0.1.tgz","fileCount":17,"integrity":"sha512-GOMkS72dIXC9HsgtJTDhc5UbN+9X6OOQO4WT4wIhjKWempQXF92CF7bmp7sbccm78q4hhARgFcxMjdA40PGiRg==","signatures":[{"sig":"MEUCIQCo/86eLyanKbJk/NQSFlOq/dr0GwzJ8lniXsao8i2GZgIgDWS1XlJ3QtKTy3KuS942fMOVJLm7lLXHgmEKeKshh4c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4077053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzwbPCRA9TVsSAnZWagAAVJMP/3aX9rCrAU4gnMuF7DTd\nEury85WhvEmSP0bcfWYGjZwpC0mkzWJA2FoOT+lnr/uc7nFeWX6WbcKULUV+\ndnQDJfRLA/Gm7swOfGGoP7HBe3APU7k6UdZewEV7eElDcI5I84g4ihnFnjR7\nYD8dARClyOlKLtfHU2x+nzcO4HIrXfCHNdffwGF7TLH+XQICK2M0G39lFbwH\nsi7CYa7tYxphBzUIMytUlUgD1kd4Y5Ig9wzP/Oyyv/1ELkUZRlJaxC5QJ0sB\nZoBYeJEPumSDS4kMCDfhS3Y4vE+qGhS+T6ka3Mt4GZAe1wqr0s7xfMo0oi4F\nWt4h2KBZ13BSxwvU182tRpOMslJaXBVHtMxMN9sadf6FqV8RLYJR/eUj4VgU\n1lOtwESfqEBUbHcLvq4eMmZVxAYnKHsP7fGrghx48M6YKkY8rsHb1P6i0ONG\n0zL3TMt4RWBqUUeInAaGYE8t65ZUgj0ylXjibzUQvaYG+n2marsDmrmUI1Dn\nuvLSS2VCtKaoGWd1J+QOg/MyFC+pVcPNBnXJhawHiZlaF64OIIWVWY6AFGL6\nxI4LXPJ5nskAZhBQZ7Seochx7sQxDF+3ehNJ+cZKGTimZ51uh4Op9G+ejgKi\nhkbupY3bmhi9uKUfm91bUIzzU+BQ5y7ehmAhOxPMYcqlbToC2+KvXKI1sI6D\nk3cp\r\n=x5av\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/dgiotBus.cjs.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"unpkg":"dist/dgiotBus.js","module":"dist/dgiotBus.esm.js","browser":"dist/dgiotBus.umd.js","scripts":{"dev":"rollup -c -w","lint":"lint-staged","pull":"./pull","push":"./push","build":"rollup -c","eslint":"eslint . --ext .js --fix","format":"prettier --write '**/*.{js,jsx,ts,tsx,json,md}'","codecov":"codecov","git:add":"git add -A","husky:add":"husky add .husky/pre-commit 'npm run lint'","karma:init":"karma init ./karma.conf.js","karma:test":"karma start ./karma.conf.js","husky:prepare":"husky install"},"_npmUser":{"name":"h7ml","email":"h7ml@qq.com"},"jsdelivr":"dist/dgiotBus.js","repository":{"url":"git+https://github.com/dgiot/dgiotBus.git","type":"git"},"description":"dgiot front-end storage middleware","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 h7ml\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","lint-staged":{"*.{js,ts,jsx,tsx}":["eslint . --fix","prettier --config .prettierrc --write ."]},"dependencies":{"vue":"^2.6.14"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","husky":"^6.0.0","karma":"^6.3.2","mocha":"^8.3.2","eslint":"^7.24.0","rollup":"^2.50.1","codecov":"^3.8.1","core-js":"^3.11.0","webpack":"^5.31.2","prettier":"^2.2.1","karma-chai":"^0.1.0","@babel/core":"^7.13.15","karma-mocha":"^2.0.1","lint-staged":"^10.5.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","karma-webpack":"^5.0.0","@babel/runtime":"^7.13.10","karma-coverage":"^2.0.3","@babel/polyfill":"^7.12.1","@babel/preset-env":"^7.13.15","@rollup/plugin-json":"^4.1.0","rollup-plugin-babel":"^4.4.0","@babel/eslint-parser":"^7.13.14","karma-mocha-reporter":"^2.2.5","rollup-plugin-terser":"^7.0.2","babel-plugin-istanbul":"^6.0.0","karma-chrome-launcher":"^3.1.0","eslint-config-prettier":"^8.1.0","eslint-plugin-prettier":"^3.3.1","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@babel/plugin-transform-runtime":"^7.13.15","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-transform-arrow-functions":"^7.13.0","@babel/plugin-transform-async-to-generator":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/dgiotbus_1.0.1_1632814373101_0.7338634876062253","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@dgiot/dgiotbus","version":"1.0.2","keywords":["dgiot","dgiotBus","vue","storage","eventsBus"],"author":{"url":"h7ml@qq.com","name":"h7ml"},"license":"MIT","_id":"@dgiot/dgiotbus@1.0.2","maintainers":[{"name":"xuxiaobo","email":"2258650676@qq.com"},{"name":"h7ml","email":"h7ml@qq.com"},{"name":"dawnwinterliu","email":"1737801684@qq.com"}],"homepage":"https://github.com/dgiot/dgiotBus#readme","bugs":{"url":"https://github.com/dgiot/dgiotBus/issues"},"dist":{"shasum":"1b0baa3d282c7bf1483d0fd315d71c8072ebe3c4","tarball":"https://registry.npmjs.org/@dgiot/dgiotbus/-/dgiotbus-1.0.2.tgz","fileCount":15,"integrity":"sha512-hiRTWeQbjNDQsLBPPIp45pJtfuxjGFbU67ANpEdAQU02oRwgoLdx3O2zlDJnTEvlNVLhoKuN73ba1yPvXLKrZw==","signatures":[{"sig":"MEQCIF7MaW6jb+vyvwPWtaVIGNIR9NXsjTGQjwTpuW2ADx8LAiBgcli9uVeyhjlgAi0GVbGeIZKtF4S6c4C/QgSlsDHAcw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4077044},"main":"dist/dgiotBus.cjs.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"unpkg":"dist/dgiotBus.js","module":"dist/dgiotBus.esm.js","browser":"dist/dgiotBus.umd.js","scripts":{"dev":"rollup -c -w","lint":"lint-staged","pull":"./pull","push":"./push","build":"rollup -c","eslint":"eslint . --ext .js --fix","format":"prettier --write '**/*.{js,jsx,ts,tsx,json,md}'","codecov":"codecov","git:add":"git add -A","husky:add":"husky add .husky/pre-commit 'npm run lint'","karma:init":"karma init ./karma.conf.js","karma:test":"karma start ./karma.conf.js","husky:prepare":"husky install"},"_npmUser":{"name":"h7ml","email":"h7ml@qq.com"},"jsdelivr":"dist/dgiotBus.js","repository":{"url":"git+https://github.com/dgiot/dgiotBus.git","type":"git"},"_npmVersion":"8.1.0","description":"dgiot front-end storage middleware","directories":{},"lint-staged":{"*.{js,ts,jsx,tsx}":["eslint . --fix","prettier --config .prettierrc --write ."]},"_nodeVersion":"16.13.0","dependencies":{"vue":"^2.6.14"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","husky":"^6.0.0","karma":"^6.3.2","mocha":"^8.3.2","eslint":"^7.24.0","rollup":"^2.50.1","codecov":"^3.8.1","core-js":"^3.11.0","webpack":"^5.31.2","prettier":"^2.2.1","karma-chai":"^0.1.0","@babel/core":"^7.13.15","karma-mocha":"^2.0.1","lint-staged":"^10.5.4","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","karma-webpack":"^5.0.0","@babel/runtime":"^7.13.10","karma-coverage":"^2.0.3","@babel/polyfill":"^7.12.1","@babel/preset-env":"^7.13.15","@rollup/plugin-json":"^4.1.0","rollup-plugin-babel":"^4.4.0","@babel/eslint-parser":"^7.13.14","karma-mocha-reporter":"^2.2.5","rollup-plugin-terser":"^7.0.2","babel-plugin-istanbul":"^6.0.0","karma-chrome-launcher":"^3.1.0","eslint-config-prettier":"^8.1.0","eslint-plugin-prettier":"^3.3.1","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-node-resolve":"^13.0.0","@babel/plugin-transform-runtime":"^7.13.15","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-transform-arrow-functions":"^7.13.0","@babel/plugin-transform-async-to-generator":"^7.13.0"},"_npmOperationalInternal":{"tmp":"tmp/dgiotbus_1.0.2_1718313127012_0.12848829592435473","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@dgiot/dgiotbus","version":"1.0.3","description":"dgiot front-end storage middleware","main":"dist/dgiotBus.cjs.js","module":"dist/dgiotBus.esm.js","browser":"dist/dgiotBus.umd.js","unpkg":"dist/dgiotBus.js","jsdelivr":"dist/dgiotBus.js","author":{"name":"h7ml","url":"h7ml@qq.com"},"license":"MIT","scripts":{"push":"./push","pull":"./pull","codecov":"codecov","eslint":"eslint . --ext .js --fix","husky:prepare":"husky install","husky:add":"husky add .husky/pre-commit 'npm run lint'","git:add":"git add -A","lint":"lint-staged","karma:init":"karma init ./karma.conf.js","karma:test":"karma start ./karma.conf.js","format":"prettier --write '**/*.{js,jsx,ts,tsx,json,md}'","build":"rollup -c","dev":"rollup -c -w"},"repository":{"type":"git","url":"git+https://github.com/dext7r/dext7r.git"},"funding":"https://github.com/sponsors/h7ml","keywords":["dgiot","dgiotBus","vue","storage","eventsBus"],"dependencies":{"vue":"^2.6.14"},"devDependencies":{"@babel/core":"^7.13.15","@babel/eslint-parser":"^7.13.14","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-transform-arrow-functions":"^7.13.0","@babel/plugin-transform-async-to-generator":"^7.13.0","@babel/plugin-transform-runtime":"^7.13.15","@babel/polyfill":"^7.12.1","@babel/preset-env":"^7.13.15","@babel/runtime":"^7.13.10","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","babel-plugin-istanbul":"^6.0.0","chai":"^4.3.4","codecov":"^3.8.1","core-js":"^3.11.0","eslint":"^7.24.0","eslint-config-prettier":"^8.1.0","eslint-plugin-prettier":"^3.3.1","husky":"^6.0.0","karma":"^6.3.2","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.1.0","karma-coverage":"^2.0.3","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-webpack":"^5.0.0","lint-staged":"^10.5.4","mocha":"^8.3.2","prettier":"^2.2.1","rollup":"^2.50.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^7.0.2","webpack":"^5.31.2"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,jsx,tsx}":["eslint . --fix","prettier --config .prettierrc --write ."]},"_id":"@dgiot/dgiotbus@1.0.3","gitHead":"95fdc772d5dd2b89adc0e19d2729c8e7ec6dcde5","bugs":{"url":"https://github.com/dext7r/dext7r/issues"},"homepage":"https://github.com/dext7r/dext7r#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-S20I/0HiXbWiqJCEpRG9bv4p1PccSdYzq3LSCgJRodjLQMPy1IqEwa8umK+iSl5fY/QT+TyMGSlQE44v6lSraQ==","shasum":"54befa12dfddeb0ac107c47aa7366a953ac58640","tarball":"https://registry.npmjs.org/@dgiot/dgiotbus/-/dgiotbus-1.0.3.tgz","fileCount":15,"unpackedSize":4077097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi6iCcCfG4KmhVn1RUQ2BpzQjk4XvTpnX0kDNn+HOuawIhAJkzKydiQw6AEtzkwXYlHcT7xhaYGMUd0/diBF5614ue"}]},"_npmUser":{"name":"h7ml","email":"h7ml@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dgiotbus_1.0.3_1719027208503_0.21519406679489728"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-10T06:04:13.659Z","modified":"2024-06-22T03:33:28.992Z","1.0.0":"2021-09-10T06:04:13.885Z","1.0.1":"2021-09-28T07:32:53.421Z","1.0.2":"2024-06-13T21:12:07.257Z","1.0.3":"2024-06-22T03:33:28.762Z"},"maintainers":[{"name":"xuxiaobo","email":"2258650676@qq.com"},{"name":"h7ml","email":"h7ml@qq.com"},{"name":"dawnwinterliu","email":"1737801684@qq.com"}],"author":{"name":"h7ml","url":"h7ml@qq.com"},"repository":{"type":"git","url":"git+https://github.com/dext7r/dext7r.git"},"keywords":["dgiot","dgiotBus","vue","storage","eventsBus"],"license":"MIT","homepage":"https://github.com/dext7r/dext7r#readme","bugs":{"url":"https://github.com/dext7r/dext7r/issues"},"readme":"# dgiotBus\n\n<p align=\"center\">\n  <a href=\"LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\" alt=\"Software License\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/@dgiot/dgiotBus\">\n    <img src=\"https://img.shields.io/npm/v/@dgiot/dgiotBus.svg?style=flat-square\" alt=\"Packagist\" />\n  </a>\n  <a href=\"https://travis-ci.com/github/dgiot/dgiotBus\" target=\"_blank\" rel=\"noopener noreferrer\">\n    <img alt=\"Travis CI\" src=\"https://img.shields.io/travis/dgiot/dgiotBus.svg\">\n  </a>\n  <a href=\"https://codecov.io/gh/dgiot/dgiotBus\" target=\"_blank\" rel=\"noopener noreferrer\">\n    <img alt=\"Codecov\" src=\"https://img.shields.io/codecov/c/github/dgiot/dgiotBus.svg\">\n  </a>\n</p>\n\n## Installation\n\n```bash\nyarn add @dgiot/dgiotBus\n```\n\n## Usage\n\n### es module\n\n```javascript\nimport * as dgiotBus from '@dgiot/dgiotBus';\n```\n\n```javascript\nimport dgiotBus from '@ataola/utils';\n```\n\n### commonjs\n\ncommand:\n\n```bash\nyarn init -y\nyarn add  esm @dgiot/dgiotBus\n```\n\nfor example:\n\n```javascript\nconst dgiotBus = require('@dgiot/dgiotBus');\n```\n\n```javascript\nconst dgiotBus = require('@dgiot/dgiotBus');\n```\n\n## Use\n\n### `emit`\n\n```javascript\ndgiotBus.$emit('busName', { name: 'h7ml' });\n```\n\n### `on`\n\n```javascript\ndgiotBus.$emit('busName', (res) => {\n  console.log(res);\n});\n```\n\n### `off`\n\n```javascript\ndgiotBus.$bus.$off('busName');\n```\n","readmeFilename":"README.md"}