Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/rssjson
RSS promise generator for Node
https://github.com/bukinoshita/rssjson
feed json promise rss rss2json rssjson rsstojson xml
Last synced: 4 days ago
JSON representation
RSS promise generator for Node
- Host: GitHub
- URL: https://github.com/bukinoshita/rssjson
- Owner: bukinoshita
- License: mit
- Created: 2017-11-19T01:04:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:23:32.000Z (almost 2 years ago)
- Last Synced: 2024-12-15T11:04:33.133Z (10 days ago)
- Topics: feed, json, promise, rss, rss2json, rssjson, rsstojson, xml
- Language: JavaScript
- Homepage:
- Size: 441 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# rssjson [![Build Status](https://travis-ci.org/bukinoshita/rssjson.svg?branch=master)](https://travis-ci.org/bukinoshita/rssjson)
> RSS promise generator for Node
## Install
```bash
$ yarn add rssjson
```## Usage
```js
const rssjson = require('rssjson')await rssjson('https://hipsters.tech/feed/podcast/')
/*
[{
title: 'Startups, investimentos e corretoras – Hipsters #70',
description: 'Algumas startups estão tentando resolver a vida financeira das pessoas! Vamos entender o que elas estão fazendo e como nesse episódio.',
link: 'https://hipsters.tech/startups-investimentos-e-corretoras-hipsters-70/',
url: 'https://hipsters.tech/startups-investimentos-e-corretoras-hipsters-70/',
created: 1510624922000,
enclosures: [{
url: 'https://media.blubrry.com/hipsterstech/content.blubrry.com/hipsterstech/hipsters_070_startups_corretoras.mp3',
length: '26568673',
type: 'audio/mpeg'
}]
}, ...]
*/
```## API
### rssjson(url)
Returns a `promise`
Type: `string`
RequiredRSS url
## License
MIT © [Bu Kinoshita](https://bukinoshita.io)