{"_id":"@actionjomei/testminirsshub","_rev":"1-099472228e92657a927d4c033afaf01b","name":"@actionjomei/testminirsshub","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@actionjomei/testminirsshub","version":"1.0.3","description":"Actionsflow trigger for rsshub","keywords":["rsshub","actionsflow","trigger"],"author":{"name":"JomeiLiu"},"homepage":"https://github.com/JomeiLiu/actionsflow-trigger-rsshub","license":"MIT","main":"index.js","scripts":{"test":"jest","release":"release-it","lint":"eslint . --ext .js"},"repository":{"type":"git","url":"git+https://github.com/JomeiLiu/actionsflow-trigger-rsshub.git"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/JomeiLiu/actionsflow-trigger-rsshub/issues"},"devDependencies":{"actionsflow-core":"^0.1.24","eslint":"^7.9.0","eslint-plugin-jest":"^24.0.2","jest":"^26.4.2","prettier":"^2.1.2","release-it":"^14.5.0"},"dependencies":{"rsshub":"github:JomeiLiu/RSSHub","supertest":"^4.0.2"},"gitHead":"85d18c5be268ad4e2cffab78bcc59958b6192ea8","_id":"@actionjomei/testminirsshub@1.0.3","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-XLqyx5ZxxPBjVhzqPbDLwaf7TxgcqISs02B3xKE39gWfNjJdpSOybWx4na3xZ48+Kv/lCJiiFYdWNjN/4TfVAA==","shasum":"1adecb575d77dd9c7c242939564f69d284c69dad","tarball":"https://registry.npmjs.org/@actionjomei/testminirsshub/-/testminirsshub-1.0.3.tgz","fileCount":10,"unpackedSize":9358,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/iFpCRA9TVsSAnZWagAA0toP/1Xt7mpc7Gz3DXMOlPDu\nJp9U7x7g7OueCWb2BJk768gxGkGDCJBZcywKAmeydQU3NxWS2k6ImdIyJmb+\nu/78Hlykd8tdcy+Nr5tQRapEnM9TopVcTfw4j2KYXfn4zcLBjilGETk8svtC\nD2yhrE1gmAETK3/X08GOeihjsFZYXzVbOjMF1sg0gD1kJIeHmyQCKcMZqQcX\n+H5epk2ZL4VXTZIYyJ1rdgqw3Msn/OihLuE5HNe1W18B1u9xFseTJNS/MTcO\n09qLAzHEKg+H+99Qfr+roQSl+Xyu5PZ3HNA9lAaRfEbMVOoBSE+N/RM0XLgW\niMm1C5+LkZpr+HkTm8UeT9tLlL+1+b8u6blg62PrYdQ4ponOAUQKUud7TV4t\nIGJxJOvF8QBZpdy8Cwuvcygvv8YmFv5aMktEm6p6VzDF8IQqTO6qjz1mvErJ\ntRCOYiJtM5SbuaulO+DWfcrnZqZXFitMG+CKr9FuhfkQ4KIr2vx+s0LZBCPq\nUFVCml/7lVW/LSSxG197Eb82xXSjZwr3vEglZYftaeZjrm2LbmOuKsfbTSnR\nPEAcWM0oFpSYldCEhMokISXajgQKSjktU3k1gTifVBQL4QNMbyw5unwwcbvZ\nDMCBo5OMie8M28MpEN7J9rWeHS91YpGIHa+2+Hg6fTxN4IVQYfLqmOmt+b0k\nl5m8\r\n=KRQ9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGliKoLw9VNZEPwa7CDURDyPsl/S7hB9TELHP2GZIKrxAiBcWY6KuUll15cfR1YVFm90O4X6kMwP7RK1K4HXLOyNdg=="}]},"_npmUser":{"name":"jomeiliu","email":"icewalkman@163.com"},"directories":{},"maintainers":[{"name":"jomeiliu","email":"icewalkman@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/testminirsshub_1.0.3_1644044649191_0.15147297777213908"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-05T07:04:09.144Z","1.0.3":"2022-02-05T07:04:09.343Z","modified":"2022-04-04T11:17:15.519Z"},"maintainers":[{"name":"jomeiliu","email":"icewalkman@163.com"}],"description":"Actionsflow trigger for rsshub","homepage":"https://github.com/JomeiLiu/actionsflow-trigger-rsshub","keywords":["rsshub","actionsflow","trigger"],"repository":{"type":"git","url":"git+https://github.com/JomeiLiu/actionsflow-trigger-rsshub.git"},"author":{"name":"JomeiLiu"},"bugs":{"url":"https://github.com/JomeiLiu/actionsflow-trigger-rsshub/issues"},"license":"MIT","readme":"# `@actionsflow/trigger-rsshub`\n\nThis is an [Actionsflow](https://github.com/actionsflow/actionsflow) [`rsshub`](https://github.com/DIYgod/RSSHub) trigger. With this trigger, you can easily get rsshub updates.\n\n## Install\n\n```bash\nnpm i @actionsflow/trigger-rsshub\n```\n\n# Usage\n\nSingle path:\n\n```yaml\non:\n  rsshub:\n    path: /smzdm/keyword/女装\n```\n\nMultiple paths:\n\n```yaml\non:\n  rsshub:\n    path:\n      - /smzdm/keyword/女装\n      - /36kr/news/latest\n    config:\n      limit: 15\n```\n\nOr, you can pass them separately:\n\n```yaml\non:\n  rsshub:\n    path:\n      - path: /smzdm/keyword/女装\n        query:\n          param1: value\n      - path: /36kr/news/latest\n        query:\n          param1: value\n    config:\n      limit: 15\n```\n\n## Options\n\n- `path`, required, `string` or `string[]` or `object[]`, when `path` is `string[]`, then multiple rsshub feeds can trigger the action. For path value, you should check at [rsshub](https://docs.rsshub.app/), all rsshub routes are supported.\n\n- `globalQuery`, optional, `object`, rsshub global query, it will set to every rsshub request search. For example: `{\"limit\":10,\"filter\":\"test\"}`, for more query params, please see [here](https://docs.rsshub.app/parameter.html)\n\n- `rsshubConfig`, optional, `object`, rsshub init config, for more config settings, please see [here](https://docs.rsshub.app/install/#pei-zhi)\n\n> You can use [General Config for Actionsflow Trigger](https://actionsflow.github.io/docs/workflow/#ontriggerconfig) for more customization.\n\n## Outputs\n\nAn outputs example:\n\n```json\n{\n  \"title\": \"UNIQLO 优衣库 426026 女士牛仔抽绳连衣裙 - 79元\",\n  \"description\": \"UNIQLO 优衣库 426026 女士牛仔抽绳连衣裙 ，采用100%棉质，舒适透气，款型舒适，腰部附带抽绳，便于调节松紧度。下单到手价79元，近期好价，喜欢的可以购买了。<br>天猫精选<br><img src=\\\"http://qny.smzdm.com/202003/24/5e796b40660e23474.jpg_d200.jpg\\\" referrerpolicy=\\\"no-referrer\\\">\",\n  \"pubDate\": \"Wed, 23 Sep 2020 16:40:00 GMT\",\n  \"link\": \"https://www.smzdm.com/p/25102718/\",\n  \"__channel_title\": \"女装 - 什么值得买\",\n  \"__channel_link\": \"http://search.smzdm.com/?c=home&s=%E5%A5%B3%E8%A3%85&order=time&v=b\"\n}\n```\n\nYou can use the outputs like this:\n\n```yaml\non:\n  rsshub:\n    path: /smzdm/keyword/女装\njobs:\n  print:\n    name: Print\n    runs-on: ubuntu-latest\n    steps:\n      - name: Print Outputs\n        env:\n          title: ${{on.rsshub.outputs.title}}\n          description: ${{on.rsshub.outputs.description}}\n          link: ${{on.rsshub.outputs.link}}\n        run: |\n          echo title: $title\n          echo description: $description\n          echo link: $link\n```\n","readmeFilename":"README.md"}