Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

davefeedread-sankemax

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

davefeedread-sankemax

Read a feed and call back with a JavaScript structure.

  • 0.5.30
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

feedRead

If you came here looking for a super-simple way to read a feed in Node.js, this is no longer the simplest or best API I have. The new package is reallySimple it's open source too, and it builds on this package, so this is still being maintained.

If you're using this package and are happy, keep using it. ;-)

6/22/23 by DW

What is this?

It's a Node package that contains everything you need to read a feed.

It builds on the feedParser package. It's simpler to call, no need to master streams or iconv.

You can also parse a string, so you can deal with files that contain feed data, not just feeds accessible over the web. Or the feed text could come from a database.

Because we use feedParser, we handle all the formats and variability that it handles.

It's an entry-level feed parser that will be useful to people who haven't mastered all of JavaScript.

Why?

Sometimes you need to quickly read a feed and do something with it, and don't have time for a major project. This package is for those times.

It also provides good sample code for more advanced feed reading projects.

Example code

There are two very basic examples, one that parses a feed that it reads over the web, and one that it reads from a local file.

A third example is a realistic feed polling app, it checks a feed every five minutes and writes the JSON structure out to a local disk. It automatically supports rssCloud, so you get realtime updates if the feed supports that protocol, which is part of RSS 2.0.

FAQs

Package last updated on 03 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc