get-rss-atom
Advanced tools
Comparing version 1.0.3-b to 1.0.3-c
{ | ||
"name": "get-rss-atom", | ||
"version": "1.0.3b", | ||
"version": "1.0.3c", | ||
"description": "Reed feed content from URL and return Array with Objects", | ||
@@ -5,0 +5,0 @@ "main": "get.js", |
@@ -17,17 +17,15 @@ Simple RSS/ATOM feed parser. | ||
``` | ||
test = require('get-rss-atom/get'); | ||
test = require('get-rss-son/get'); | ||
let | ||
count = 0; | ||
hostFeed = ''; | ||
feedUrl = ''; | ||
if (process.argv.length > 1) { | ||
hostFeed = process.argv[2] | ||
feedUrl = process.argv[2] | ||
} | ||
test.getRssAtom(hostFeed, content => content.forEach((item) => { | ||
test.getRssAtom(feedUrl, content => content.forEach((item) => { | ||
count++; | ||
console.log( | ||
`\n--${count}-- ${item.title}\n${item.description}\n${item.href}\n` | ||
) | ||
console.log(`\n--${count}-- ${item.title}\n${item.description}\n${item.href}\n`) | ||
})); | ||
@@ -34,0 +32,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
6967
38