Socket
Book a DemoInstallSign in
Socket

craigslist-apa-parse

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

craigslist-apa-parse

Given an RSS feed from the apts/housing section of craigslist, return an array of JSON posts with pertinent information parsed out

2.0.0
latest
Source
npmnpm
Version published
Weekly downloads
3
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

NPM

Given an RSS feed from the apts/housing section of craigslist, return an array of JSON posts with pertinent information parsed out

Installation

$ npm install craigslist-apa-parse

Function

parse(rss, cb)

rss: string, XML RSS feed string representing posts from craigslist apa section

cb: Function(error, posts), callback function

  • error: Error, passed when issue encountered reading feed
  • posts: array, JSON array of posts with the following schema, + date + title + location + price + bedroom + url

Running Tests

Install the development dependencies:

$ npm install

Then run the tests:

$ npm test

Code Coverage

Install the development dependencies:

$ npm install

Then run coverage

$ npm run coverage

View coverage reports

$ firefox coverage/lcov-report/index.html

Browser Bundle

$ npm run build

Keywords

craigslist

FAQs

Package last updated on 03 Apr 2016

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.