{"_id":"@d0whc3r/moleculer-slack","_rev":"14-3a2246d94b3d2ce8ba6a3ec6961a82b2","time":{"1.0.1":"2020-07-05T22:54:42.442Z","1.0.2":"2020-07-05T22:54:42.442Z","created":"2020-07-05T23:25:44.312Z","1.0.0":"2020-07-05T23:25:44.457Z","modified":"2022-04-05T02:28:51.940Z","1.1.1":"2020-07-05T23:51:54.068Z","1.1.2":"2020-07-05T23:57:34.602Z","1.1.3":"2020-07-07T07:05:03.110Z","1.2.0":"2021-08-25T10:14:23.065Z"},"name":"@d0whc3r/moleculer-slack","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@d0whc3r/moleculer-slack","version":"1.0.0","main":"dist/index.js","module":"dist/index.esm.js","type":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/d0whc3r/moleculer-addons.git","directory":"packages/moleculer-slack"},"homepage":"https://github.com/d0whc3r/moleculer-addons/tree/master/packages/moleculer-slack#readme","author":{"name":"d0whc3r"},"license":"MIT","keywords":["microservice","moleculer","slack","messages"],"scripts":{"example":"ts-node example/index.ts","example:dev":"dotenv -e ./env/development.env -- yarn example dev","example:prod":"dotenv -e ./env/production.env -- yarn example prod","clean":"rm -fr yarn.lock package-lock.json dist node_modules","build":"yarn build:clean && run-p build:dts build:rollup","build:clean":"rimraf dist","build:rollup":"dotenv -e ./env/production.env -- rollup -c","build:rollup:dev":"dotenv -e ./env/development.env -- rollup -c","build:dts":"dts-bundle-generator --config dts-bundle-generator.json","test":"jest -i","test:coverage":"yarn test --coverage","release":"np","release:patch":"np patch","release:minor":"np minor","release:major":"np major"},"peerDependencies":{"moleculer":"^0.14.0 || ^0.13.0 || ^0.12.0"},"dependencies":{"@slack/web-api":"^5.10.0"},"devDependencies":{"@rollup/plugin-node-resolve":"8.1.0","@types/jest":"26.0.3","builtin-modules":"3.1.0","dotenv":"8.2.0","dotenv-cli":"3.2.0","esbuild":"0.5.21","jest":"26.1.0","jest-chain":"1.1.5","jest-cli":"26.1.0","jest-extended":"0.11.5","jest-junit":"11.0.1","jest-sonar-reporter":"2.0.0","moleculer":"0.14.8","np":"6.3.0","rollup":"2.19.0","rollup-plugin-auto-external":"2.0.0","rollup-plugin-esbuild":"2.1.0","rollup-plugin-node-builtins":"2.1.2","ts-jest":"26.1.1","ts-node":"8.10.2","typescript":"3.9.6"},"engines":{"node":">= 8.x.x"},"jestSonar":{"reportPath":"../../coverage","reportFile":"slack-test-report.xml"},"jest-junit":{"outputDirectory":"../../coverage","outputName":"slack-junit.xml"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"description":"![Moleculer logo](http://moleculer.services/images/banner.png)","bugs":{"url":"https://github.com/d0whc3r/moleculer-addons/issues"},"_id":"@d0whc3r/moleculer-slack@1.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-QxyZtYXupBHJ6pxcng+C7ycP9vFbLWLxnycNx5a23j2ZeXUs3TGeRFHqMKayKn9Ch8wBgi/MlLwDeZWhHU1Bsg==","shasum":"c0943a793c9483607dd8f4fe0ba716b36cf1138a","tarball":"https://registry.npmjs.org/@d0whc3r/moleculer-slack/-/moleculer-slack-1.0.0.tgz","fileCount":6,"unpackedSize":16298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAmF4CRA9TVsSAnZWagAAEDkP/iYEIK8t0PbVotGGcW2i\nC87zdByUrfvXmMKIhjscCuJT67e47otod6Mtq+NwJFXQa0WDFIoJUus56iUe\n+q9IrHyBB+OjOkiahQ7/TC0mSvMoocmb09cOPE9Qbu97FvC/0hHRBaaq5W2h\nR3qO18Eq7MkPl/pNmqWSAsDvJErf7lVqFy+7chQbIo7zIgfUby/dyxuaTA2m\nFjNLkW+p45Dx1pDEwBh1a2HfdaaBsKCkKuXxQS+bFivK6DockbflnHtqIXkF\nfJPhcDNu+eLgLHiwt8Ba+GclaBax4+PdubGRmGEqzdc5h+2xOlHHU/VS0YXx\nSPzhYSZQXB8sR4cV3O6DNfbH88yecopCDyHUoOdY/7xX/CSJseZ5QFlG1LsV\nkCNFwJZm7tWJrfv7laxIfT53IMvU6vPvbzsit4bGH+d7irdkOe0cEvqryx5H\n2LKmcj+niKWK7eq/XxiPw/BoK4Vypp1t+nv1jmunlWed/y2lexyecBbWONzT\np8iupkdGAqZGGyamV7Bq70zH0UmkatYRlc2wD5DcJ37Ew1rsfSNDgbVakBKw\nWY2P75uOl7K1WMWCBOi7j7qzk1XSOPTbg7XUzwe75tStOqW5tDfkJaAmJ15S\n/uoS5+1EroeRA8km+fW7gC2eWmpw1ZNGDHkNpk3NE3MSoP+7z+QvT5gEBBSx\nAlgu\r\n=4rPi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQxaQfoKnLJwtvsxo5+xFzvAy42ITiQcW1/FTP0Ly4FQIgS1jOdCzKCzZ5IvXpWYP0iml4x+tSPRsXNi5sgp0hzRw="}]},"maintainers":[{"name":"d0whc3r","email":"d0whc3r@gmail.com"}],"_npmUser":{"name":"d0whc3r","email":"d0whc3r@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/moleculer-slack_1.0.0_1593991544351_0.5931675257027915"},"_hasShrinkwrap":false},"1.1.1":{"name":"@d0whc3r/moleculer-slack","version":"1.1.1","main":"dist/index.js","module":"dist/index.esm.js","type":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/d0whc3r/moleculer-addons.git","directory":"packages/moleculer-slack"},"homepage":"https://github.com/d0whc3r/moleculer-addons/tree/master/packages/moleculer-slack#readme","author":{"name":"d0whc3r"},"license":"MIT","keywords":["microservice","moleculer","slack","messages"],"scripts":{"example":"ts-node example/index.ts","example:dev":"dotenv -e ./env/development.env -- yarn example dev","example:prod":"dotenv -e ./env/production.env -- yarn example prod","clean":"rm -fr yarn.lock package-lock.json dist node_modules","build":"yarn build:clean && run-p build:dts build:rollup","build:clean":"rimraf dist","build:rollup":"dotenv -e ./env/production.env -- rollup -c","build:rollup:dev":"dotenv -e ./env/development.env -- rollup -c","build:dts":"dts-bundle-generator --config dts-bundle-generator.json","test":"jest -i","test:coverage":"yarn test --coverage","postversion":"git push --follow-tags"},"peerDependencies":{"moleculer":"^0.14.0 || ^0.13.0 || ^0.12.0"},"dependencies":{"@slack/web-api":"^5.10.0"},"devDependencies":{"@rollup/plugin-node-resolve":"8.1.0","@types/jest":"26.0.3","builtin-modules":"3.1.0","dotenv":"8.2.0","dotenv-cli":"3.2.0","esbuild":"0.5.21","jest":"26.1.0","jest-chain":"1.1.5","jest-cli":"26.1.0","jest-extended":"0.11.5","jest-junit":"11.0.1","jest-sonar-reporter":"2.0.0","moleculer":"0.14.8","rollup":"2.19.0","rollup-plugin-auto-external":"2.0.0","rollup-plugin-esbuild":"2.1.0","rollup-plugin-node-builtins":"2.1.2","ts-jest":"26.1.1","ts-node":"8.10.2","typescript":"3.9.6"},"engines":{"node":">= 8.x.x"},"jestSonar":{"reportPath":"../../coverage","reportFile":"slack-test-report.xml"},"jest-junit":{"outputDirectory":"../../coverage","outputName":"slack-junit.xml"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"description":"![Moleculer logo](http://moleculer.services/images/banner.png)","bugs":{"url":"https://github.com/d0whc3r/moleculer-addons/issues"},"_id":"@d0whc3r/moleculer-slack@1.1.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-Fg0YuTSCEnO6lD+ZkrLQx6pToIQtDR4aTbIdPjo0W5DiWXPdeBG788t5+DuJqw2tm/cwQBRkp9HYqzrmcYjybQ==","shasum":"d9634754047f5812b03d1d1d6a762ce4d8b7813a","tarball":"https://registry.npmjs.org/@d0whc3r/moleculer-slack/-/moleculer-slack-1.1.1.tgz","fileCount":6,"unpackedSize":16204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAmeaCRA9TVsSAnZWagAAkTgP/3b2H/rP24iABZphz+65\nfFAedOl23W7x4caxVU7Vkup0p4Ap+YlbipXvAbJRfVI4zQMo4aROKrHEI4np\nKwbTM9mRNCMAFfjN1a6pHOF+0Uy8p3SQ/bcVnG8FJxpeQa0wZWzhdpRsEZuG\n+CRNwk/YuEfJfhsjPU+DlpeBazT7l2z4OwRqTqmlOKK/gGKNaf3fB6O5tKxU\nCZijKPnFNpAl+FhJhCgCPGy4oWg9DH4fB2WMulQMZNw1igO4ApKLPONg9GdD\nvdKCj9MD0Tum5hE/FRCsHncJ6J3p482ztqroH2GTTOXPTrXNLoSiEH66y3ow\nVgfOeYtqLdZ0xwiAQ+f+3g9f/MhN1F8uhGuyBXvE2mtII4isoBu4sC9mkGUZ\nRjIMeDLGJYInTPLfnK/T4Y0FOLkgCIzysTgCoayU47qvivoT+nOUZkq83bfL\na6nCeJxxhqppuT5rnjTdGBgGiDt+u4Fp2tsH0ykin+Cx4xaSIeFNmfl8qZR4\nexp9TCnoP6TarySH6fY5QyRWMR72u+hkL8yMNqFgvjXWD2MfPFVcua2IybcK\neJjBWlZh3LeBgZN2XZvA9xwIaWvADmiXbFfZJ/kpXw3WZKBfFdZqY0YFtpUM\no3ECQ61IpRFvnzBHrHQf2Ite8PSh1N+djf+t1qBl4FyeqpT27p2LywFxJYm/\nuX2S\r\n=V8xo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBI3D2Qf9sb9xg9gqG71kUYzd9N4yIEuG5uivVRul6agIhAO9LmUldRaLZROg119QAfti7wd4xZ6lHrMxiZFScrHQq"}]},"maintainers":[{"name":"d0whc3r","email":"d0whc3r@gmail.com"}],"_npmUser":{"name":"d0whc3r","email":"d0whc3r@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/moleculer-slack_1.1.1_1593993113943_0.3233566494485516"},"_hasShrinkwrap":false},"1.1.2":{"name":"@d0whc3r/moleculer-slack","version":"1.1.2","main":"dist/index.js","module":"dist/index.esm.js","type":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/d0whc3r/moleculer-addons.git","directory":"packages/moleculer-slack"},"homepage":"https://github.com/d0whc3r/moleculer-addons/tree/master/packages/moleculer-slack#readme","author":{"name":"d0whc3r"},"license":"MIT","keywords":["microservice","moleculer","slack","messages"],"scripts":{"example":"ts-node example/index.ts","example:dev":"dotenv -e ./env/development.env -- yarn example dev","example:prod":"dotenv -e ./env/production.env -- yarn example prod","clean":"rm -fr yarn.lock package-lock.json dist node_modules","build":"yarn build:clean && run-p build:dts build:rollup","build:clean":"rimraf dist","build:rollup":"dotenv -e ./env/production.env -- rollup -c","build:rollup:dev":"dotenv -e ./env/development.env -- rollup -c","build:dts":"dts-bundle-generator --config dts-bundle-generator.json","test":"jest -i","test:coverage":"yarn test --coverage","postversion":"git commit -am 'chore(bump): bump version [skip-ci]' && git push --follow-tags"},"peerDependencies":{"moleculer":"^0.14.0 || ^0.13.0 || ^0.12.0"},"dependencies":{"@slack/web-api":"^5.10.0"},"devDependencies":{"@rollup/plugin-node-resolve":"8.1.0","@types/jest":"26.0.3","builtin-modules":"3.1.0","dotenv":"8.2.0","dotenv-cli":"3.2.0","esbuild":"0.5.21","jest":"26.1.0","jest-chain":"1.1.5","jest-cli":"26.1.0","jest-extended":"0.11.5","jest-junit":"11.0.1","jest-sonar-reporter":"2.0.0","moleculer":"0.14.8","rollup":"2.19.0","rollup-plugin-auto-external":"2.0.0","rollup-plugin-esbuild":"2.1.0","rollup-plugin-node-builtins":"2.1.2","ts-jest":"26.1.1","ts-node":"8.10.2","typescript":"3.9.6"},"engines":{"node":">= 8.x.x"},"jestSonar":{"reportPath":"../../coverage","reportFile":"slack-test-report.xml"},"jest-junit":{"outputDirectory":"../../coverage","outputName":"slack-junit.xml"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"description":"![Moleculer logo](http://moleculer.services/images/banner.png)","bugs":{"url":"https://github.com/d0whc3r/moleculer-addons/issues"},"_id":"@d0whc3r/moleculer-slack@1.1.2","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-SJ35Ba6lMslerMNnw8WPwvhLc811wBleM9GWHMPFF3UkC9Ly8JLLQLpfGmjD5vl+ohr56AScIEuak1ZguKvVrg==","shasum":"2291c40bed0cec18bfba9ba64ea08930847f9fed","tarball":"https://registry.npmjs.org/@d0whc3r/moleculer-slack/-/moleculer-slack-1.1.2.tgz","fileCount":6,"unpackedSize":16260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAmjuCRA9TVsSAnZWagAAGioP/RBabEFlKITokow1c6D0\nYH3lfdTd8nPlfP0vgTJWj3bp2cNQ8OUc2NG/kWxU4hoF2M8rvuCfDj9LnRMS\nhojxxmaGyPDCsfbqycx6/2dqx2Kv+qms1uwlI26VGCgn4ojYhtMIoSme1FfG\nK8zSqxnYWLqrd9ehETrMXJ57spwvT0nDp60Fp/kZM1yJVK3pq6O650OHRds8\n4/YICyYvYDfDIHfQFSaeGYDm0vO8TdSeME3XVSsLLvzPburZ6Jz4nnubZTz9\n4Jar2yDQgU5zO4Ezvvbkxa59LdAF3yakuV8QG0IPOkGySnkuE8vEPRBmuFAL\nXMPz7Um8BZxbj/hu8f34w9xNW9Qdiaajtj2LNi8U0o5uv3pINE9OWhwekg8M\nS2Pjj2tjozv1UHjTHrQz48NizFqGnOMmRgGkiUTgtHWfwlHpb//fQ5CjhpnW\nhRDk4QrLnJAnMOoiWPlWDqEOf3F9STxjaR9zgL3HUj4SlkotjAK/90pKPkzP\ny6RUnlE/OhmLTc57bpOHOWjQeQctkeDhK8Hgx48LiUKY6YR7z1d0ICbAj8Gx\nh9q5UebwEl2JnYzeMlvdueaE7RrAR1dJ4DFHobvWxikc3ZMAO/ZiVj32KxG7\nzfUofW3nwyfggIh0KMN9U8oucP50x8juW0nNlBpJCvrpLo9dFRvGB7O5nFD/\nuJE9\r\n=KxQX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID+5K05+oDmIs5cEEr3tlZZbZKlkw/HcsH2rapDjIn7EAiAlhkOlpzoJzMWQZpyD0WpZrzjdAWjC7XVIUgi95WYMCg=="}]},"maintainers":[{"name":"d0whc3r","email":"d0whc3r@gmail.com"}],"_npmUser":{"name":"d0whc3r","email":"d0whc3r@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/moleculer-slack_1.1.2_1593993454482_0.22393391092339132"},"_hasShrinkwrap":false},"1.1.3":{"name":"@d0whc3r/moleculer-slack","version":"1.1.3","main":"dist/index.js","module":"dist/index.esm.js","type":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/d0whc3r/moleculer-addons.git","directory":"packages/moleculer-slack"},"homepage":"https://github.com/d0whc3r/moleculer-addons/tree/master/packages/moleculer-slack#readme","author":{"name":"d0whc3r"},"license":"MIT","keywords":["microservice","moleculer","slack","messages"],"scripts":{"example":"ts-node example/index.ts","example:dev":"dotenv -e ./env/development.env -- yarn example dev","example:prod":"dotenv -e ./env/production.env -- yarn example prod","clean":"rm -fr yarn.lock package-lock.json dist node_modules","build":"yarn build:clean && run-p build:dts build:rollup","build:clean":"rimraf dist","build:rollup":"dotenv -e ./env/production.env -- rollup -c","build:rollup:dev":"dotenv -e ./env/development.env -- rollup -c","build:dts":"dts-bundle-generator --config dts-bundle-generator.json","test":"jest -i","test:coverage":"yarn test --coverage","postversion":"git commit -am 'chore(bump): bump version [skip-ci]' && git push --follow-tags"},"peerDependencies":{"moleculer":"^0.14.0 || ^0.13.0 || ^0.12.0"},"dependencies":{"@slack/web-api":"^5.10.0"},"devDependencies":{"@rollup/plugin-node-resolve":"8.1.0","@types/jest":"26.0.4","builtin-modules":"3.1.0","dotenv":"8.2.0","dotenv-cli":"3.2.0","esbuild":"0.5.24","jest":"26.1.0","jest-chain":"1.1.5","jest-cli":"26.1.0","jest-extended":"0.11.5","jest-junit":"11.0.1","jest-sonar-reporter":"2.0.0","moleculer":"0.14.8","rollup":"2.20.0","rollup-plugin-auto-external":"2.0.0","rollup-plugin-esbuild":"2.1.0","rollup-plugin-node-builtins":"2.1.2","ts-jest":"26.1.1","ts-node":"8.10.2","typescript":"3.9.6"},"engines":{"node":">= 8.x.x"},"jestSonar":{"reportPath":"../../coverage","reportFile":"slack-test-report.xml"},"jest-junit":{"outputDirectory":"../../coverage","outputName":"slack-junit.xml"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"description":"![Moleculer logo](http://moleculer.services/images/banner.png)","bugs":{"url":"https://github.com/d0whc3r/moleculer-addons/issues"},"_id":"@d0whc3r/moleculer-slack@1.1.3","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ZlINNjKFLNNLgZvxP1QVJFQoo4M7otiBwqjZwpU8jVJzvgc7MCTGz6qbtSZ5emp0z2EixONSnHP4C+0MqXDvqQ==","shasum":"d8fe1db72d8ad6654903aeb37e4f3c13bd8b0b7f","tarball":"https://registry.npmjs.org/@d0whc3r/moleculer-slack/-/moleculer-slack-1.1.3.tgz","fileCount":7,"unpackedSize":16648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBB6fCRA9TVsSAnZWagAAajgP/07t2xDvc/+N4vTgUtsr\nAMlQToFA5HOLuuzQ0t/ubUJrXCJJBXh4T30FH6b1IW1EveFuqWWhDFvbU5/6\n0t40dvtebaXFWkvskciShUhBejgbBjn9clPyAK4EWlRHWUUsN4Ds3cly2QpI\n//tLT1my+/NFy2+u9krtrVgHjZ4gba25zms3b4yc2ZoVnsIlYZOjY5yCWL3Q\nDVOS/lnFMJdvPOLBjTyyHCiTVzsmcMYP4faIRMmQiJ3jCz1eBa7DXR+pAHLl\ntd/IPE2pwS7WgU73aYvyJegw5P/pF2/hR+gY49O7gBof0nUBkPSile8b/dLi\njh/zt5JqweBNknWwobzcdDVu0Z++kCB/jnVNu6U6ZevBenH9C3SiHImeknSq\nsl84N8Odr/Na/jtYzbIHDN7R6RslSjwz8r70BH32ADQ7G//qHdmgc48Xr7Jh\nUjstCRxgxVPVju/gk2O9XNQDmZiBNWingvUzi8FyR7MvkNWwgdPMKlIaMwNx\nOOSSRjVaGiidCbodjN0h6GY9AyjOt/QUxaPLqE18Ur7bAnvl86+v//c7O/PZ\nodmoehkTX79GYGwqV3vkYg1aXKWkLtLMhB6wZpHh5G5nuVMRcdJc9QRUaoBD\ny9Sy3bJzx7xB4Fy2mYN7SP1a/XWzJLB2qSiPk+Z0mi/SiFAkxN+KeMYfLmIn\nO/NI\r\n=U+LC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIConkK4sMiVXMCO1dvljzIpAyPVv09JEfEwdHxPb71uEAiBfSNek8lI+9uCm6Oeo9GBwTXn+ndn/la9CuqhGIYDSDw=="}]},"maintainers":[{"name":"d0whc3r","email":"d0whc3r@gmail.com"}],"_npmUser":{"name":"d0whc3r","email":"d0whc3r@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/moleculer-slack_1.1.3_1594105502990_0.009021287314606719"},"_hasShrinkwrap":false},"1.2.0":{"name":"@d0whc3r/moleculer-slack","version":"1.2.0","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/d0whc3r/moleculer-addons.git","directory":"packages/moleculer-slack"},"homepage":"https://github.com/d0whc3r/moleculer-addons/tree/master/packages/moleculer-slack#readme","author":{"name":"d0whc3r"},"license":"MIT","keywords":["microservice","moleculer","slack","messages"],"scripts":{"example":"ts-node example/index.ts","example:dev":"dotenv -e ./env/development.env -- yarn example dev","example:prod":"dotenv -e ./env/production.env -- yarn example prod","clean":"rm -fr yarn.lock package-lock.json dist node_modules","build":"yarn build:clean && run-p build:dts build:rollup","build:clean":"rimraf dist","build:rollup":"dotenv -e ./env/production.env -- rollup -c","build:rollup:dev":"dotenv -e ./env/development.env -- rollup -c","build:dts":"dts-bundle-generator --config dts-bundle-generator.json","test":"jest -i","test:coverage":"yarn test --coverage"},"peerDependencies":{"moleculer":"^0.14.16"},"dependencies":{"@slack/web-api":"^6.4.0"},"devDependencies":{"@rollup/plugin-node-resolve":"13.0.4","@types/jest":"27.0.1","@slack/types":"2.2.0","builtin-modules":"3.2.0","dotenv":"10.0.0","dotenv-cli":"4.0.0","esbuild":"0.12.22","jest":"27.0.6","jest-chain":"1.1.5","jest-cli":"27.0.6","jest-extended":"0.11.5","jest-junit":"12.2.0","jest-sonar-reporter":"2.0.0","moleculer":"0.14.16","rollup":"2.56.3","rollup-plugin-auto-external":"2.0.0","rollup-plugin-esbuild":"4.5.0","rollup-plugin-node-builtins":"2.1.2","ts-jest":"27.0.5","ts-node":"10.2.1","typescript":"4.3.5"},"engines":{"node":">= 8.x.x"},"jestSonar":{"reportPath":"../../coverage","reportFile":"slack-test-report.xml"},"jest-junit":{"outputDirectory":"../../coverage","outputName":"slack-junit.xml"},"publishConfig":{"registry":"https://registry.npmjs.org","access":"public"},"description":"![Moleculer logo](http://moleculer.services/images/banner.png)","bugs":{"url":"https://github.com/d0whc3r/moleculer-addons/issues"},"_id":"@d0whc3r/moleculer-slack@1.2.0","_nodeVersion":"14.17.5","_npmVersion":"7.21.0","dist":{"integrity":"sha512-vjIe8Bcs5Rc2sVAE4LdDMty95TQsiza5IWSpCy6MDk1vtcHO7GC1h0kgmCAVd1Jhf7+SeiquPXYDJtrdPJB8eg==","shasum":"9374e5e21fba7b811a9f88007f2bbf30293d10fd","tarball":"https://registry.npmjs.org/@d0whc3r/moleculer-slack/-/moleculer-slack-1.2.0.tgz","fileCount":6,"unpackedSize":15499,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJhf/CRA9TVsSAnZWagAAxc0QAKGyLxX+ceH7oW6w+dV0\nCVG3OLUU9I+/4Ut337M1zTbAg2ebFQ8WqrZ3iCFqaexgiG4qAm4rcGhfzkyw\nHlju9vNgoz9R13pi3U4jw1mLWPg1ZhaOQtnKl+XMaQJd3z1yXENsd5ypR42n\nk5auucZZexcZ+j/ToRGVOLjkUDk+87GjVma2Xz8YuliJBvHboeshlsD2czvE\nSAT8mnNK3HI6Y81Mfsdgn7+OIg+WXVkcsunj5GUOHoN+0C0DQM6wZx8t5atp\nCBXJ+PXR0ZdzJEdVH+56+4hczbcN/gLwLVEuE/cVwVKcENNtUvVsZ70SpR+1\nTBKwOtl0FE+FHwaZ3O88YqHuXMEXrSuZQw/DpSlMOf+CKNGWDbq64Lhw1ToY\nT0xeYKld7/SN4LWuW1iqOQn0aSC20ucL7R1JopcowVhbAZBo+mVTbNaxg4kq\n9dcD30UQx4vjj5cwLz62SAFj5eoqvKA2OGw7JEmRXDKgTml6SYdS3AMu5d61\n12QF3f4zyZqoHBEComRZz2VK5hX+PzJLG4KsdwRsEV08jqTJxzQNu20YGkiV\nl7PbBbAR1c6OZ4gUVbRjvA8PKmtTqOS0O2mTIHl6o3RYW5xDEMXZgQsmc3mM\njqd6vdQ1Muthfv3tWK+r1iXp1PhCSJe3U2/M2Zh1SvkznSwLQPnto19yfqxr\nGiof\r\n=71oX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChpuSLnLssfvkZpz5xYANgEmI1iOctgBSBOmKzQ7MOHAiAUbvc+OcYuKEevGCj44ooM7vnQjC9r1xI4ik4HsXC5jQ=="}]},"_npmUser":{"name":"d0whc3r","email":"d0whc3r@gmail.com"},"directories":{},"maintainers":[{"name":"d0whc3r","email":"d0whc3r@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/moleculer-slack_1.2.0_1629886462921_0.06146572694709351"},"_hasShrinkwrap":false}},"maintainers":[{"name":"d0whc3r","email":"d0whc3r@gmail.com"}],"description":"![Moleculer logo](http://moleculer.services/images/banner.png)","homepage":"https://github.com/d0whc3r/moleculer-addons/tree/master/packages/moleculer-slack#readme","keywords":["microservice","moleculer","slack","messages"],"repository":{"type":"git","url":"git+https://github.com/d0whc3r/moleculer-addons.git","directory":"packages/moleculer-slack"},"author":{"name":"d0whc3r"},"bugs":{"url":"https://github.com/d0whc3r/moleculer-addons/issues"},"license":"MIT","readme":"![Moleculer logo](http://moleculer.services/images/banner.png)\n\n# moleculer-slack [![NPM version](https://img.shields.io/npm/v/@d0whc3r/moleculer-slack.svg)](https://www.npmjs.com/package/@d0whc3r/moleculer-slack)\n\nSend Messages to Slack API.\n\n## Install\n\n```bash\n$ npm install @d0whc3r/moleculer-slack --save\n```\n\n## Usage\n\n> This addon reads the `SLACK_TOKEN` and `SLACK_CHANNEL` environment variables, but all are optional\n\n```js\nconst { ServiceBroker } = require(\"moleculer\");\nconst { SlackService } = require(\"@d0whc3r/moleculer-slack\");\n\n// Create broker\nconst broker = new ServiceBroker({ logger: console });\n\n// Load my service\nbroker.createService({\n    name: \"slack\",\n    mixins: [SlackService]\n});\n\n// Start server\nbroker.start().then(() => {\n  broker\n    .call('slack.send', { message: 'testing!' })\n    .then((response) => {\n      console.log('Slack message response', response);\n    })\n    .catch(console.error);\n});\n```\n\n## Settings\n\n| Property | Type | Default | Description |\n| -------- | ---- | ------- | ----------- |\n| `slackToken` | `String` | `SLACK_TOKEN env variable` | Slack API Token. Visit your [Slack App dashboard's](https://www.slack.com/apps) main page. Click \"Create App, Generate Token\", then copy and paste your \"API TOKEN\" here. |\n| `slackChannel` | `String` | `SLACK_CHANNEL env variable` | Slack API Token. Visit your [Slack App dashboard's](https://www.slack.com/apps) main page. Add incoming webhook and create/select a channel, then copy and paste here. |\n\n## Actions\n### `send` \n\nSend a Slack Message\n\n#### Parameters\n| Property | Type | Default | Description |\n| -------- | ---- | ------- | ----------- |\n| `message` | `String` | **required** | Message text |\n| `channel` | `String` | `null` | (optional) Channel name, can be array or string, if it is a string it could be multiple channels separated by commas |\n| `token` | `String` | `null` | (optional) Token to use |\n\n#### Results\n**Type:** `Promise<WebAPICallResult[]>`\n\n## Methods\n\n### `sendMessageToChannels` \n\nSend a slack message to one or more channels\n\n#### Parameters\n| Property | Type | Default | Description |\n| -------- | ---- | ------- | ----------- |\n| `message` | `String` | - | Body of the message |\n| `channel` | `String or Array<String>` | - | Channel or channels name/s |\n\n#### Results\n**Type:** `Promise<WebAPICallResult>[]`\n\n## Test\n```\n$ npm test\n```\n\n## License\nThe project is available under the [MIT license](https://tldrlegal.com/license/mit-license).\n","readmeFilename":"README.md"}