# kiwi-scraperjs

> [![Build Status](https://travis-ci.org/Kiwi-Learn/kiwi-scraperjs.svg?branch=master)](https://travis-ci.org/Kiwi-Learn/kiwi-scraperjs)

Latest version **0.5.0** (published 2016-01-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install kiwi-scraperjs
pnpm add kiwi-scraperjs
yarn add kiwi-scraperjs
bun add kiwi-scraperjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2016-01-09 |
| First published | 2015-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+7 in 2 direct dependencies) |
| Install scripts | no |
| Author | John-Lin |
| Maintainers | linton |
| Keywords | sharecourse |

## Links

- npm: https://www.npmjs.com/package/kiwi-scraperjs
- npm.io page: https://npm.io/package/kiwi-scraperjs

## Dependencies (4)

- [got](https://npm.io/package/got.md) ^6.0.0
- [lodash](https://npm.io/package/lodash.md) ^3.10.1
- [cheerio](https://npm.io/package/cheerio.md) ^0.19.0
- [fuse.js](https://npm.io/package/fuse.js.md) ^1.3.1

## Recent versions

- 0.5.0 (latest) — 2016-01-09
- 0.4.3 — 2016-01-08
- 0.4.2 — 2016-01-08
- 0.4.1 — 2016-01-08
- 0.4.0 — 2016-01-07
- 0.3.1 — 2016-01-07
- 0.3.0 — 2016-01-04
- 0.2.1 — 2015-12-11
- 0.1.2 — 2015-12-11
- 0.1.1 — 2015-12-10
- 0.1.0 — 2015-12-10

## README

# kiwi-scraperjs

[![Build Status](https://travis-ci.org/Kiwi-Learn/kiwi-scraperjs.svg?branch=master)](https://travis-ci.org/Kiwi-Learn/kiwi-scraperjs)

This is `Node.js` implementation for [kiwi-scraper](https://github.com/Kiwi-Learn/kiwi-scraper)

# Installation

```sh
npm install kiwi-scraperjs
```

# Example Usage

```javascript
'use strict';
let KiwiScraper = require('../index.js');

let ks = new KiwiScraper();

// Show all courses list
ks.listCourses((err, courses) => {
  console.log(courses);
});

// Fuzzy search for courses object. return courses objects
ks.searchCourse('program', (err, res) => {
  console.log(res);
});

// Courses ID to courses name. return a course name
ks.getCourseNameByID('EE62002', (err, res) => {
  console.log(res);
});

// Courses ID to courses object. return a course object
ks.getCourseObjectByID('EE62002', (err, res) => {
  console.log(res);
});

```

---
_Source: https://npm.io/package/kiwi-scraperjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
