Skip to content

Commit 4199925

Browse files
author
Ubuntu
committed
add readme
1 parent b212eed commit 4199925

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# rss-parser
2+
3+
## Installation
4+
5+
```bash
6+
npm install --save rss-parser
7+
```
8+
9+
## Usage
10+
11+
```js
12+
var parser = require('rss-parser');
13+
14+
parser.parseURL('https://reddit.com/.rss', function(err, parsed) {
15+
console.log(parsed)
16+
})
17+
```
18+
19+
rss-parser also exposes `parseString` and `parseFile` functions.
20+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rss-parser",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"main": "index.js",
55
"scripts": {
66
"test": "mocha"

0 commit comments

Comments
 (0)