File tree Expand file tree Collapse file tree 3 files changed +20
-51
lines changed Expand file tree Collapse file tree 3 files changed +20
-51
lines changed Original file line number Diff line number Diff line change 1212
1313 strategy :
1414 matrix :
15- node_version : [18 .x, 20 .x, 22 .x]
15+ node_version : [20 .x, 22 .x, 23 .x]
1616
1717 steps :
1818 - uses : actions/checkout@v4
@@ -27,32 +27,13 @@ jobs:
2727 PROXY_SERVER : ${{ secrets.PROXY_SERVER }}
2828 run : |
2929 npm install
30+ npm run lint
3031 npm run test
3132
32- - name : Coveralls Parallel
33- uses : coverallsapp/github-action@v2
34- with :
35- flag-name : run-${{ join(matrix.*, '-') }}
36- parallel : true
37- github-token : ${{ secrets.GITHUB_TOKEN }}
38-
3933 - name : cache node modules
4034 uses : actions/cache@v4
4135 with :
4236 path : ~/.npm
4337 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
4438 restore-keys : |
4539 ${{ runner.os }}-node-
46-
47- finish :
48- needs : test
49- if : ${{ always() }}
50- runs-on : ubuntu-latest
51- steps :
52- - name : Coveralls Finished
53- uses : coverallsapp/github-action@v2
54- with :
55- parallel-finished : true
56- carryforward : " run-18.x,run-20.x,run-21.x"
57-
58-
Original file line number Diff line number Diff line change @@ -5,46 +5,33 @@ To read & normalize RSS/ATOM/JSON feed data.
55[ ![ npm version] ( https://badge.fury.io/js/@extractus%2Ffeed-extractor.svg )] ( https://badge.fury.io/js/@extractus%2Ffeed-extractor )
66![ CodeQL] ( https://github.com/extractus/feed-extractor/workflows/CodeQL/badge.svg )
77![ CI test] ( https://github.com/extractus/feed-extractor/workflows/ci-test/badge.svg )
8- [ ![ Coverage Status] ( https://img.shields.io/coveralls/github/extractus/feed-extractor )] ( https://coveralls.io/github/extractus/feed-extractor?branch=main )
98
109(This library is derived from [ feed-reader] ( https://www.npmjs.com/package/feed-reader ) renamed.)
1110
1211## Demo
1312
14- - [ Give it a try!] ( https://extractor-demos.pages.dev/feed-extractor )
15- - [ Example FaaS] ( https://extractus.deno.dev/extract?apikey=rn0wbHos2e73W6ghQf705bdF&type=feed&url=https://news.google.com/rss )
13+ - [ Give it a try!] ( https://extractus-demo.vercel.app/feed )
1614
17- ## Install & Usage
1815
19- ### Node.js
16+ ## Install
2017
2118``` bash
19+ # npm, pnpm, yarn
2220npm i @extractus/feed-extractor
23- ```
24-
25- ``` ts
26- import { extract } from ' @extractus/feed-extractor'
2721
28- // extract a RSS
29- const result = await extract (' https://news.google.com/rss' )
30- console .log (result )
22+ # bun
23+ bun add @extractus/feed-extractor
3124```
3225
33- ### Deno
26+ ## Usage
3427
3528``` ts
36- import { extract } from ' npm:@extractus/feed-extractor'
37- ```
38-
39- ### Browser
29+ import { extract } from ' @extractus/feed-extractor'
4030
41- ``` ts
42- import { extract } from ' https://esm.sh/@extractus/feed-extractor '
31+ const data = await extract ( RSS_URL )
32+ console . log ( data )
4333```
4434
45- Please check [ the examples] ( https://github.com/extractus/feed-extractor/tree/main/examples ) for reference.
46-
47-
4835## Automate RSS feed extraction with GitHub Actions
4936
5037[ RSS Feed Fetch Action] ( https://github.com/Promptly-Technologies-LLC/rss-fetch-action ) is a GitHub Action designed to automate the fetching of RSS feeds.
Original file line number Diff line number Diff line change 11{
2- "version" : " 7.1.4 " ,
2+ "version" : " 7.1.5 " ,
33 "name" : " @extractus/feed-extractor" ,
44 "description" : " To read and normalize RSS/ATOM/JSON feed data" ,
5- "homepage" : " https://extractor-demos.pages.dev " ,
5+ "homepage" : " https://github.com/extractus/feed-extractor " ,
66 "repository" : {
77 "type" : " git" ,
88 "url" :
" [email protected] :extractus/feed-extractor.git" 4141 "dependencies" : {
4242 "bellajs" : " ^11.2.0" ,
4343 "cross-fetch" : " ^4.1.0" ,
44- "fast-xml-parser" : " ^4.5 .1" ,
45- "html-entities" : " ^2.5.2 "
44+ "fast-xml-parser" : " ^5.2 .1" ,
45+ "html-entities" : " ^2.6.0 "
4646 },
4747 "devDependencies" : {
48- "esbuild" : " ^0.25.0" ,
49- "eslint" : " ^9.20.0" ,
50- "globals" : " ^15.14.0" ,
48+ "@eslint/js" : " ^9.26.0" ,
49+ "esbuild" : " ^0.25.3" ,
50+ "eslint" : " ^9.26.0" ,
51+ "globals" : " ^16.0.0" ,
5152 "https-proxy-agent" : " ^7.0.6" ,
5253 "jest" : " ^29.7.0" ,
53- "nock" : " ^14.0.1 "
54+ "nock" : " ^14.0.4 "
5455 },
5556 "keywords" : [
5657 " extractor" ,
You can’t perform that action at this time.
0 commit comments