scruffy
v1.0.2
Published
A node.js service for turning an RSS feed into a JSON ticker
Downloads
3
Readme
Scruffy
A node.js service for turning an RSS feed into a JSON ticker
Install from npm:
npm install scruffy --save
Example:
import { Feed } from 'scruffy'
const feed = new Feed({ url: 'http://blog.samaltman.com/posts.atom' })
feed.on('ready', () => feed.top().subscribe(item => console.log(item.title)))
feed.init()
Commands
Run nodemon for development
npm start
Run tests and watch for changes for development
npm test
Run tests once
npm run tests-once
Build
npm run build
Run example
npm run example