Socket
Socket
Sign inDemoInstall

middlebury-catalog

Package Overview
Dependencies
60
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    middlebury-catalog

A JavaScript API for the Middlebury course catalog.


Version published
Weekly downloads
3
Maintainers
1
Install size
11.7 MB
Created
Weekly downloads
 

Readme

Source

catalog.js

A JavaScript API for the Middlebury course catalog.

Build Status

Usage

Scrape from url

var scraper = require('./src/scraper');

// the scraper is able to construct the url given a term
scraper('201590').catalogFromUrl()
.then(function (xml) {
  console.log(xml);
});

Scrape from file

var scraper = require('./src/scraper');

scraper('201590').catalogFromFile('test/test.xml')
.then(function (xml) {
  console.log(xml);
});

Develop

Clone the repository then run

$ npm install

and run the tests with

$ npm test

Keywords

FAQs

Last updated on 13 Nov 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc