{"_id":"@anthonypena/simple-bot","_rev":"16-84b40127f613fe3ab532f380abe9ab84","name":"@anthonypena/simple-bot","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"@anthonypena/simple-bot","version":"1.0.0","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.0.0","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"b159a99e6e03a5e74859be8c7c3bbf78268d56d6","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.0.0.tgz","fileCount":60,"integrity":"sha512-mJfK0JmynTbUteUmVDK11oQooFtpbC0gScLpMagFWX5AG+3d8gq2fCt3T85og/zh1i9ZwSbzacrPITZs5JH6cg==","signatures":[{"sig":"MEUCIAZX87bx0Tx9lE4wYpyKSKCMd6NQ28tX8LCCUNPZL5qPAiEA0k9UeS010+10F+AmDXMLjX0BRpv6wTxDYTsY1R/IeIk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35724},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.0.0.tgz","types":"dist/index.d.ts","private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/03ae945a818cd1dc102ddec79f89dbca/anthonypena-simple-bot-1.0.0.tgz","_integrity":"sha512-mJfK0JmynTbUteUmVDK11oQooFtpbC0gScLpMagFWX5AG+3d8gq2fCt3T85og/zh1i9ZwSbzacrPITZs5JH6cg==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/fp":"0.1.0","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.0.0_1726782572419_0.861732906050594","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@anthonypena/simple-bot","version":"1.0.1","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.0.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"31e42db7383516d995cf18b210f7d90541acef5e","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.0.1.tgz","fileCount":58,"integrity":"sha512-8R7nPhCH6uHuebb9aLrTIsi5jHOiyMBiYPeyYOdWJuwBEYEuL9p/xFIVGefeqBi+2vL4CkYF2dzfhvUIsqnGUA==","signatures":[{"sig":"MEUCIBZNAaKmj7scHaoccQJxtSaD1WiPHssNyuQknO0s5bJuAiEAkLuFGzDXuQR0RjNqFoSdS8oImSReZw76tHfmSDP7IEk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35516},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.0.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/d934cb29a5ebcf57075628ff1d9c57f0/anthonypena-simple-bot-1.0.1.tgz","_integrity":"sha512-8R7nPhCH6uHuebb9aLrTIsi5jHOiyMBiYPeyYOdWJuwBEYEuL9p/xFIVGefeqBi+2vL4CkYF2dzfhvUIsqnGUA==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/fp":"0.1.0","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.0.1_1726786089404_0.7647817870456801","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@anthonypena/simple-bot","version":"1.0.2","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.0.2","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"d5b7af4443dccad00b4706c9a78e0c1e3c1ac0c7","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.0.2.tgz","fileCount":58,"integrity":"sha512-RL2fhZS8JSqP6ikDVplcxROYL0zWr5A6TRs7ltpbWhwawAvmj86Cr0F8xr0l7x0NQgvgzoeF94cEcxk6xfqisA==","signatures":[{"sig":"MEUCIHeArrC9+OeXZlS5UvALFpUilBElofwv7MPqxMq3yxDPAiEAgOj3TwkFaBD19h8vLgDSkN7UJUsQLlmNJT67cBLV8Iw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35605},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.0.2.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/1a17f2ed030d2495d0c97cd07aebadf5/anthonypena-simple-bot-1.0.2.tgz","_integrity":"sha512-RL2fhZS8JSqP6ikDVplcxROYL0zWr5A6TRs7ltpbWhwawAvmj86Cr0F8xr0l7x0NQgvgzoeF94cEcxk6xfqisA==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/fp":"0.1.0","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.0.2_1726787984390_0.022798322965520867","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@anthonypena/simple-bot","version":"1.0.3","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.0.3","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"5562eab934a0aa43631d9bc9bee69d986c006744","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.0.3.tgz","fileCount":58,"integrity":"sha512-lw9JC7BFxaP9HcsHIHzatW1BtDsqmeDLacalmbPs94KBl9ktgmlfJM4fOJTMGRg2zz6gwnfLkGZhJhmvA2r7yg==","signatures":[{"sig":"MEQCIHc3at5RxgjjN0nK6Fd/pPEi/wnyRY/6UI+whOUKxnBwAiADPtshUmbCJYJ0Wcd1hYUeOvtFQ6QN3P79Bxf7/QRMbg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37577},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.0.3.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/a500a3a8babaa9409b805ad59a917da4/anthonypena-simple-bot-1.0.3.tgz","_integrity":"sha512-lw9JC7BFxaP9HcsHIHzatW1BtDsqmeDLacalmbPs94KBl9ktgmlfJM4fOJTMGRg2zz6gwnfLkGZhJhmvA2r7yg==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/fp":"0.1.0","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.0.3_1727093071271_0.9219892404963157","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@anthonypena/simple-bot","version":"1.0.4","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.0.4","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"523b9270bee7db24dff520b574bd2ecd9e7b595a","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.0.4.tgz","fileCount":68,"integrity":"sha512-pHlb6BNC0d6mC0jaydkQJ4W7Q6aQlbiz6m2nlQ9L6JLZhi3yvJrz+A8oiPeO+coehmLYAkSbIhi2nEiKj3oQvw==","signatures":[{"sig":"MEQCIH7+F1tgaXacCT5K0FMRIyl9oYMsq70Oue/8SATD67G6AiB5ml9u3b6ujpznHCAp/m9pNycb/o7KpmrrPA9H5ZWsug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45619},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.0.4.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/ba6fccab3423bcc315fa89e6e85ad4f5/anthonypena-simple-bot-1.0.4.tgz","_integrity":"sha512-pHlb6BNC0d6mC0jaydkQJ4W7Q6aQlbiz6m2nlQ9L6JLZhi3yvJrz+A8oiPeO+coehmLYAkSbIhi2nEiKj3oQvw==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.0.4_1728336072957_0.4442688976914302","host":"s3://npm-registry-packages"}},"1.1.0-beta":{"name":"@anthonypena/simple-bot","version":"1.1.0-beta","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.1.0-beta","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"06451f62c3325aaea5c59245f965a319583a7645","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.1.0-beta.tgz","fileCount":72,"integrity":"sha512-Fop9MTUXrGset2NJaTta8ytrBfalX32LYuGpfBrO/Lous+hcoz8OTVtRCqMqaoyQ2OHkG67JxpS2gCzSt5eh8g==","signatures":[{"sig":"MEUCIQDRJDRvLvn8BuP0oqXEteZ0roL4zN7DKzA6DoRBWYoCKgIgUM5Iswo4zT0nYlxRPiCoIWiigDC/kaqZ5gomRSEfpjs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48986},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.1.0-beta.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/1bfd028ce64010ebdf448c6618c5e05d/anthonypena-simple-bot-1.1.0-beta.tgz","_integrity":"sha512-Fop9MTUXrGset2NJaTta8ytrBfalX32LYuGpfBrO/Lous+hcoz8OTVtRCqMqaoyQ2OHkG67JxpS2gCzSt5eh8g==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.1.0-beta_1728420545780_0.9180688052238148","host":"s3://npm-registry-packages"}},"1.1.0-beta.1":{"name":"@anthonypena/simple-bot","version":"1.1.0-beta.1","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.1.0-beta.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"dd45b93547c01f20cf4648db65169ee53727221b","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.1.0-beta.1.tgz","fileCount":72,"integrity":"sha512-OvrA5Exq7VVG0r5nKTN4a3S4dZzvjOVciR7REe/Rfn+NmM8apZxb/pCFKX8SpUPqXXmD284h3Gxo0OuAfxbeJA==","signatures":[{"sig":"MEQCICL9alkMOPlgQf1Tj5T0JnDd5BaU6erQqHkjnyH/aK09AiBBKxVlFXg0SZ0gtLeR9WrI5P7tqIIgWkZL0U4mooqwFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48979},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.1.0-beta.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/e7c754d59b67f09d1488e1781371f885/anthonypena-simple-bot-1.1.0-beta.1.tgz","_integrity":"sha512-OvrA5Exq7VVG0r5nKTN4a3S4dZzvjOVciR7REe/Rfn+NmM8apZxb/pCFKX8SpUPqXXmD284h3Gxo0OuAfxbeJA==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.1.0-beta.1_1728422950723_0.02110319668462668","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@anthonypena/simple-bot","version":"1.1.0","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.1.0","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"52c1f205be9058ca0a18977163551a3439e053ea","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.1.0.tgz","fileCount":72,"integrity":"sha512-gYGoOMY1P+Ai7+3jCRr42LG1tyZBl0eWz2Se4Wtipnmy+fwtTA+PY+g67vpBSp7Z0hK8IL9vckMF6Lxla3P4Dw==","signatures":[{"sig":"MEQCICIQI9e0VFYjdyVm6D1KJ8saXZg0FhjEzicSW9ylSHKXAiBAtGZVqMKtoolIwu1+skgsduig4ke4l2CufSFoBEdPVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48674},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.1.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/1f0f4d054cfc7876efb7b8ca09411aaf/anthonypena-simple-bot-1.1.0.tgz","_integrity":"sha512-gYGoOMY1P+Ai7+3jCRr42LG1tyZBl0eWz2Se4Wtipnmy+fwtTA+PY+g67vpBSp7Z0hK8IL9vckMF6Lxla3P4Dw==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.1.0_1728459520661_0.37426104880919286","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@anthonypena/simple-bot","version":"1.1.1","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.1.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"ac8d6b5b7375e73f09f9ddda7f480819d905a7f5","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.1.1.tgz","fileCount":72,"integrity":"sha512-+vPxGMo7GUXw8JLPO4ZoznGBQK4UbOFPNjhyUlRZAEsa7iJf6GL+vahYFHA5Po0NOZJw2HC6HsDSVBSuyIRzDA==","signatures":[{"sig":"MEQCIFYxrHdtVmDkBUjF37b+ggAls2Ypf/Gd5qkgxVuKGFB5AiA9/QVQwESuWR/knAy0+XCnoYsMSxe3mMn1+j1JtXHDQQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51478},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.1.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/16977ab70d122f67991d2260d42e68da/anthonypena-simple-bot-1.1.1.tgz","_integrity":"sha512-+vPxGMo7GUXw8JLPO4ZoznGBQK4UbOFPNjhyUlRZAEsa7iJf6GL+vahYFHA5Po0NOZJw2HC6HsDSVBSuyIRzDA==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.1.1_1728461795405_0.6791948752246988","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@anthonypena/simple-bot","version":"1.2.0","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.2.0","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"80be3f94b025f36edf83f8154a75023640468f0d","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.2.0.tgz","fileCount":77,"integrity":"sha512-HU1fQC4VHsNl28FrUbyrGKnA/0Z60ARB9QP6IiWfYdXikcSHyUUojaMuVnGIBn+MQdWrEAX8XZ2/heJZb4S4ZQ==","signatures":[{"sig":"MEUCIQD+XKFm9UPLQu9R+fZAAtMQTMNuLEU2aLQ82b4mmtWurQIgBXYOU3OrXbx55i7INGjLQM184vm8PBz0Gn9rBqNnW7Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53118},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.2.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/537861e86264adeb95ff397467995efc/anthonypena-simple-bot-1.2.0.tgz","_integrity":"sha512-HU1fQC4VHsNl28FrUbyrGKnA/0Z60ARB9QP6IiWfYdXikcSHyUUojaMuVnGIBn+MQdWrEAX8XZ2/heJZb4S4ZQ==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.2.0_1728855529193_0.604630596991806","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@anthonypena/simple-bot","version":"1.2.1","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.2.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"b42f69108238a3f348217f0772292a3fa22f02a4","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.2.1.tgz","fileCount":77,"integrity":"sha512-ptgL1tC8Jb41sH1uFFKUrQ2g7neRTygW5IjeuX+IMbIPo6yJKs4J423VCZialEsHFQlgOvnLa88fUiLl9o6hww==","signatures":[{"sig":"MEQCIHP20gcFLF1YNQSnl/V03gwB/LGCmu2GbQ4q9Ag51YzWAiBAF5f3CkzqV6PWSM/yDMUKd7cd8RgJoFdefp4oiW1rpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":53208},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.2.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/3d5c54ed861742ce603c294a48f8216a/anthonypena-simple-bot-1.2.1.tgz","_integrity":"sha512-ptgL1tC8Jb41sH1uFFKUrQ2g7neRTygW5IjeuX+IMbIPo6yJKs4J423VCZialEsHFQlgOvnLa88fUiLl9o6hww==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@anthonypena/fp":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.2.1_1728856322609_0.7497816691196446","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@anthonypena/simple-bot","version":"1.3.0","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.3.0","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"04005f116de205432ea6a26e1a592db64ab94b05","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.3.0.tgz","fileCount":77,"integrity":"sha512-G1ASuhoPBa3YUBBxVi7dVV695L7yeUyxLLJLhZg2GPYMNkuh0lqTknyY9cI1T56eT2kgPrnMDd4TUYrd5aXz4g==","signatures":[{"sig":"MEUCIFbesBTKDIEr43plL+Gm0nT6CjS6lyQiMoDEVVw7BbKuAiEA+ynZBKfqVHkMk/Bi/VVANnbfyF0MHguhf5C/9G/rIXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55804},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.3.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/66befa6d133128d96ea7aaaa0cc10d19/anthonypena-simple-bot-1.3.0.tgz","_integrity":"sha512-G1ASuhoPBa3YUBBxVi7dVV695L7yeUyxLLJLhZg2GPYMNkuh0lqTknyY9cI1T56eT2kgPrnMDd4TUYrd5aXz4g==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@anthonypena/fp":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.3.0_1729435791630_0.8956324818275272","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@anthonypena/simple-bot","version":"1.3.1","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@1.3.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"34b436e016d8596952a0a7a446c875086051adf3","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-1.3.1.tgz","fileCount":77,"integrity":"sha512-uZCpm3n+nqZn4sCRaJ4APSXeDLHMxyJkQQTzH6Sjz6HF2A4k2ki3e2lmZMQu8hxHbfvoIt5acLIyIAbBTnopcA==","signatures":[{"sig":"MEQCIHM0pXTPsXjVZgbcfYCCGHbyQayFvdQNmjlkBZQc8voNAiAMWyArJfhxkyCpjqLYuher1ye8JJus/whiG6chxP4laQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55227},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-1.3.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/b5b102f5f55f90a0d1546498e316a6d4/anthonypena-simple-bot-1.3.1.tgz","_integrity":"sha512-uZCpm3n+nqZn4sCRaJ4APSXeDLHMxyJkQQTzH6Sjz6HF2A4k2ki3e2lmZMQu8hxHbfvoIt5acLIyIAbBTnopcA==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@anthonypena/fp":"1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_1.3.1_1729436746561_0.7074397435215107","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@anthonypena/simple-bot","version":"2.0.0","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@2.0.0","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"e27f8465b7d8be2d9e0d121fbc38f5c4a956c142","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-2.0.0.tgz","fileCount":78,"integrity":"sha512-KjlpYhOWhVfzE08Tfmgbr/RJ9nWOCA8cgvVsjP8pSSlLWOqHUgHE+qEFFlzu8pm6d6RDEnseEMz69iVW9YacrQ==","signatures":[{"sig":"MEUCIQDMPIT8NfoYIAJstb0he6Iq4dTHE6OX8u0H4qANjpnRGgIgOcnuvN8OyBArVOrJjYqTLn9HEXuJ2AB0W9LBHMUhcBM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65782},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-2.0.0.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/29777de8bb9f0d601e4673791df1d041/anthonypena-simple-bot-2.0.0.tgz","_integrity":"sha512-KjlpYhOWhVfzE08Tfmgbr/RJ9nWOCA8cgvVsjP8pSSlLWOqHUgHE+qEFFlzu8pm6d6RDEnseEMz69iVW9YacrQ==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@anthonypena/fp":"1.0.1","@anthonypena/types-utils":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_2.0.0_1729444469715_0.22820181464021516","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@anthonypena/simple-bot","version":"2.0.1","keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","_id":"@anthonypena/simple-bot@2.0.1","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"dist":{"shasum":"5b4f3893757009dea8c8d09250d74aa99dcdc258","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-2.0.1.tgz","fileCount":79,"integrity":"sha512-4mSvxzrgdA/MPI49U4Q5UXLw5QbeAC9+MSVAaTxXpQwoRhALxgjzHkkX5aLXgzV6kD9xwVhmC9kVGLQbeCxT8A==","signatures":[{"sig":"MEUCIQD2P74QFaHENnQD2Snz1rIF3Z1AUPUZn5tRBcifX3f7kAIgNMaT9OggahghLeH/XsIFgeJMZ83cSHDMkYXiXkbJ4o4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68017},"main":"dist/index.js","_from":"file:anthonypena-simple-bot-2.0.1.tgz","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"private":false,"scripts":{"lint":"eslint --ext ts,tsx,js,tsx src","test":"vitest","build":"run-s clean build-ts","clean":"rimraf ./dist","pretty":"prettier . --check","build-ts":"tsc","lint-fix":"pnpm lint --fix","pretty-fix":"prettier . --write"},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"prettier":"@anthonypena/prettier-config","_resolved":"/tmp/4570471221de44861cec98089cc462bb/anthonypena-simple-bot-2.0.1.tgz","_integrity":"sha512-4mSvxzrgdA/MPI49U4Q5UXLw5QbeAC9+MSVAaTxXpQwoRhALxgjzHkkX5aLXgzV6kD9xwVhmC9kVGLQbeCxT8A==","_npmVersion":"10.8.2","description":"Simple bot framework.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"@anthonypena/fp":"1.0.1","@anthonypena/types-utils":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^5.0.5","vitest":"^1.4.0","prettier":"^3.2.5","typescript":"^5.4.3","npm-run-all":"^4.1.5","@anthonypena/tsconfig":"0.1.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/simple-bot_2.0.1_1730154359848_0.5318608333729355","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@anthonypena/simple-bot","version":"2.0.2","description":"Simple bot framework.","repository":{"type":"git","url":"git+https://github.com/kuroidoruido/js-libs.git","directory":"libs/simple-bot"},"main":"dist/index.js","types":"dist/index.d.ts","private":false,"keywords":[],"author":{"name":"Anthony Pena"},"license":"MIT","dependencies":{"@anthonypena/fp":"1.0.2","@anthonypena/types-utils":"1.0.0"},"devDependencies":{"eslint":"^8.57.0","npm-run-all":"^4.1.5","prettier":"^3.2.5","rimraf":"^5.0.5","typescript":"^5.4.3","vitest":"^1.4.0","@anthonypena/eslint-plugin":"0.1.0","@anthonypena/prettier-config":"0.1.0","@anthonypena/tsconfig":"0.1.0"},"prettier":"@anthonypena/prettier-config","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./emitters":{"types":"./dist/emitters/index.d.ts","default":"./dist/emitters/index.js"},"./fetchers":{"types":"./dist/fetchers/index.d.ts","default":"./dist/fetchers/index.js"},"./triggers":{"types":"./dist/triggers.d.ts","default":"./dist/triggers.js"},"./package.json":"./package.json"},"scripts":{"clean":"rimraf ./dist","build-ts":"tsc","build":"run-s clean build-ts","test":"vitest","pretty":"prettier . --check","pretty-fix":"prettier . --write","lint":"eslint --ext ts,tsx,js,tsx src","lint-fix":"pnpm lint --fix"},"_id":"@anthonypena/simple-bot@2.0.2","bugs":{"url":"https://github.com/kuroidoruido/js-libs/issues"},"homepage":"https://github.com/kuroidoruido/js-libs#readme","_integrity":"sha512-xaaHpZLHN4drjTc3j3CmnH8yeakNsjiy2r28fqIG1SM11rE2EvFNSiAIAU+TVc9h+YXzz4lCMRDr93UyPhp1kQ==","_resolved":"/tmp/d4854891f516cf2dd6b414853cd37310/anthonypena-simple-bot-2.0.2.tgz","_from":"file:anthonypena-simple-bot-2.0.2.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-xaaHpZLHN4drjTc3j3CmnH8yeakNsjiy2r28fqIG1SM11rE2EvFNSiAIAU+TVc9h+YXzz4lCMRDr93UyPhp1kQ==","shasum":"21a38833d902224d2383ceecaaf14a5e4b18477e","tarball":"https://registry.npmjs.org/@anthonypena/simple-bot/-/simple-bot-2.0.2.tgz","fileCount":79,"unpackedSize":68152,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHq39THetpkXlv/8xnN/TG9qaH328hb335s34DYiNBL+AiEAtvb9EtUJ1pAGqRLcp3zm+Jdi953/FeMuFo0Ya6bsdh4="}]},"_npmUser":{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"},"directories":{},"maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/simple-bot_2.0.2_1768375905143_0.5752347864196035"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-19T21:49:32.270Z","modified":"2026-01-14T07:31:45.418Z","1.0.0":"2024-09-19T21:49:32.567Z","1.0.1":"2024-09-19T22:48:09.619Z","1.0.2":"2024-09-19T23:19:44.600Z","1.0.3":"2024-09-23T12:04:31.422Z","1.0.4":"2024-10-07T21:21:13.224Z","1.1.0-beta":"2024-10-08T20:49:05.998Z","1.1.0-beta.1":"2024-10-08T21:29:10.938Z","1.1.0":"2024-10-09T07:38:40.872Z","1.1.1":"2024-10-09T08:16:35.602Z","1.2.0":"2024-10-13T21:38:49.377Z","1.2.1":"2024-10-13T21:52:02.867Z","1.3.0":"2024-10-20T14:49:51.813Z","1.3.1":"2024-10-20T15:05:46.931Z","2.0.0":"2024-10-20T17:14:29.955Z","2.0.1":"2024-10-28T22:26:00.077Z","2.0.2":"2026-01-14T07:31:45.278Z"},"author":{"name":"Anthony Pena"},"license":"MIT","keywords":[],"description":"Simple bot framework.","maintainers":[{"name":"kuroidoruido","email":"anthony.pena@outlook.fr"}],"readme":"# @anthonypena/simple-bot\n\n## Install\n\n```Bash\nnpm i @anthonypena/simple-bot\n```\n\n## Examples\n\n### Push to Google Chat\n\nEvery time the script will be run, it will trigger the bot, build the static message and emit the message to the specified Google Chat space.\n\n```TypeScript\nimport { createBot, BotSpace } from '@anthonypena/simple-bot'\nimport { googleChat } from '@anthonypena/simple-bot/emitters'\nimport { nothing } from '@anthonypena/simple-bot/fetchers'\nimport { always } from '@anthonypena/simple-bot/triggers'\n\nconst staticBot = createBot({\n    name: 'The Static Bot 🤖',\n    trigger: always(),\n    data: nothing(),\n    message: () => 'This is a static message!',\n    emitter: googleChat({ spaceUrl: 'https://chat.googleapis.com/...' })\n});\n\nnew BotSpace({ env: process.env })\n    .addBots(staticBot)\n    .run();\n```\n\n## Docs\n\n### Triggers\n\n#### `allTrigger`\n\nTrigger the bot when every triggers in parameter are triggered.\n\nParameters:\n\n- `triggers`: a list of Trigger\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    trigger: allTrigger(always(), whenEnvIsDefined('FOO')),\n    // ...\n})\n```\n\n#### `always`\n\nTrigger the bot when every time.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    trigger: always(),\n    // ...\n})\n```\n\n#### `anyTrigger`\n\nTrigger the bot when any number (at least one) of the trigger in parameter is triggered.\n\nParameters:\n\n- `triggers`: a list of Trigger\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    trigger: anyTrigger(whenEnvIsDefined('FOO'), whenEnvIsDefined('BAR')),\n    // ...\n})\n```\n\n#### `never`\n\nNever trigger the bot.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    trigger: never(),\n    // ...\n})\n```\n\n#### `whenEnvIsDefined`\n\nTrigger the bot if the environment variable in parameter is defined.\n\nParameters:\n\n- `envVar`: a string with the name of an environnement variable.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    trigger: whenEnvIsDefined('FOO'),\n    // ...\n})\n```\n\n### Fetchers\n\n#### `gpt`\n\nAsk OpenAI/GPT something.\n\nParameters:\n\n- `messages`: the message to build chat initialization. [See official documentation for more details.](https://platform.openai.com/docs/api-reference/chat/create#chat-create-messages)\n- `model` (optional): the model to use. [See official documentation to get available values (check /v1/chat/completion)](https://platform.openai.com/docs/models/model-endpoint-compatibility) (default: 'gpt-4o-mini')\n- `apikey` (optional): an OpenAI API Key. (default: env.OPENAI_APIKEY)\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    data: gpt({ messages:  [{\n                role: 'user',\n                content: 'Tell me joke',\n            }]\n        }),\n    // ...\n})\n```\n\n#### `http`\n\nGet some data with an HTTP call through `fetch`.\n\nParameters:\n\n- `request`: same as `fetch` parameter `RequestInit` with mandatory `url` field.\n- `deserializer` (optional): specify what to extract from http call response (default: extract body as json and deserialize it)\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    data: http({ url: 'http://example.com', headers: { 'Authorization': 'Bearer some-token' } }),\n    // ...\n})\n```\n\n#### `nothing`\n\nReturn an empty object.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    data: nothing(),\n    // ...\n})\n```\n\n#### `someData`\n\nCombine the result of multiple Fetchers as one unique object.\n\nParameters:\n\n- `fetchers`: a dictionary of Fetcher\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    data: someData({ foo: http({ url: 'http://foo.com' }), bar: http({ url: 'http://bar.com' }) }),\n    // ...\n})\n```\n\n### Emitters\n\n#### `dispatch`\n\nEmit the message to every Emitters in parameters.\n\nParameters:\n\n- `emitters`: every emitters you want to use.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    emitter: dispatch(\n        googleChat({ spaceUrl: 'https://chat.googleapis.com/...' }),\n        googleChat({ spaceUrl: 'https://chat.googleapis.com/...' }),\n        printInConsole(),\n    ),\n    // ...\n})\n```\n\n#### `freeMobile`\n\nEmit the message to a Free Mobile phone number.\n\n> Note: to use Free Mobile notification, you should active it in your account.\n\nParameters:\n\n- `{login}` (optional): the Free Mobile login of the target phone. (default: env.FREEMOBILE_LOGIN)\n- `{apikey}` (optional): the secret apikey given in the Free Mobile account. (default: env.FREEMOBILE_APIKEY)\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    emitter: freeMobile(),\n    // ...\n})\n```\n\n#### `googleChat`\n\nEmit the message to a Google Chat space.\n\nParameters:\n\n- `{spaceUrl}`: the webhook URL of the chat.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    emitter: googleChat({ spaceUrl: 'https://chat.googleapis.com/...' }),\n    // ...\n})\n```\n\n#### `printInConsole`\n\nEmit the message in the console.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    emitter: printInConsole(),\n    // ...\n})\n```\n\n#### `sendWithFetch`\n\nEmit the message with plain HTTP Fetch client.\n\nParameters:\n\n- `{reqBuilder}`: function to build a request.\n\nExemple:\n\n```TypeScript\nconst bot = createBot({\n    emitter: sendWithFetch({\n        reqBuilder({ message, env }) {\n            return { method: 'POST', url: env.MY_CUSTOM_HTTP_SERVER, body: message }\n        }\n    }),\n    // ...\n})\n```\n\n### Environment Variables\n\n- `DRY`: force dry mode. When `DRY=true`, replace the emitters with the `printInConsole` emitter.\n","readmeFilename":"README.md","homepage":"https://github.com/kuroidoruido/js-libs#readme","repository":{"type":"git","url":"git+https://github.com/kuroidoruido/js-libs.git","directory":"libs/simple-bot"},"bugs":{"url":"https://github.com/kuroidoruido/js-libs/issues"}}