npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@actionsflow/trigger-rsshub_mini_dev

v1.0.3

Published

Actionsflow trigger for rsshub

Downloads

3

Readme

@actionsflow/trigger-rsshub

This is an Actionsflow rsshub trigger. With this trigger, you can easily get rsshub updates.

Install

npm i @actionsflow/trigger-rsshub

Usage

Single path:

on:
  rsshub:
    path: /smzdm/keyword/女装

Multiple paths:

on:
  rsshub:
    path:
      - /smzdm/keyword/女装
      - /36kr/news/latest
    config:
      limit: 15

Or, you can pass them separately:

on:
  rsshub:
    path:
      - path: /smzdm/keyword/女装
        query:
          param1: value
      - path: /36kr/news/latest
        query:
          param1: value
    config:
      limit: 15

Options

  • 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, all rsshub routes are supported.

  • 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

  • rsshubConfig, optional, object, rsshub init config, for more config settings, please see here

You can use General Config for Actionsflow Trigger for more customization.

Outputs

An outputs example:

{
  "title": "UNIQLO 优衣库 426026 女士牛仔抽绳连衣裙 - 79元",
  "description": "UNIQLO 优衣库 426026 女士牛仔抽绳连衣裙 ,采用100%棉质,舒适透气,款型舒适,腰部附带抽绳,便于调节松紧度。下单到手价79元,近期好价,喜欢的可以购买了。<br>天猫精选<br><img src=\"http://qny.smzdm.com/202003/24/5e796b40660e23474.jpg_d200.jpg\" referrerpolicy=\"no-referrer\">",
  "pubDate": "Wed, 23 Sep 2020 16:40:00 GMT",
  "link": "https://www.smzdm.com/p/25102718/",
  "__channel_title": "女装 - 什么值得买",
  "__channel_link": "http://search.smzdm.com/?c=home&s=%E5%A5%B3%E8%A3%85&order=time&v=b"
}

You can use the outputs like this:

on:
  rsshub:
    path: /smzdm/keyword/女装
jobs:
  print:
    name: Print
    runs-on: ubuntu-latest
    steps:
      - name: Print Outputs
        env:
          title: ${{on.rsshub.outputs.title}}
          description: ${{on.rsshub.outputs.description}}
          link: ${{on.rsshub.outputs.link}}
        run: |
          echo title: $title
          echo description: $description
          echo link: $link