# sinew-node

> Sinew-Node collects structured data from web sites (screen scraping).

Latest version **0.1.0** (published 2012-07-05) · 0 weekly downloads

## Install

```sh
npm install sinew-node
pnpm add sinew-node
yarn add sinew-node
bun add sinew-node
```

## 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.1.0 |
| Published | 2012-07-05 |
| First published | 2012-07-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 2 |
| Author | ChenCheng |
| Maintainers | sorrycc |
| Keywords | sinew, spider, cache |

## Links

- npm: https://www.npmjs.com/package/sinew-node
- Repository: https://github.com/sorrycc/sinew-node
- npm.io page: https://npm.io/package/sinew-node

## Dependencies (4)

- [jsdom](https://npm.io/package/jsdom.md) ~0.2.14
- [request](https://npm.io/package/request.md) ~2.9.203
- [underscore](https://npm.io/package/underscore.md) ~1.3.3
- [coffee-script](https://npm.io/package/coffee-script.md) ~1.3.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2012-07-05

## README

## Welcome to Sinew-Node

Sinew-Node collects structured data from web sites (screen scraping).

Sinew is distributed as a ruby gem:

```node
npm install sinew-node
```

## Example

Here's an example for collecting Reddit's topic list:

```coffeescript
sinew = require '../lib/sinew-node'
sinew.get 'http://www.reddit.com/r/javascript/', ->
  (@$ '#siteTable div.thing a.title').each (index)->
    console.log @innerHTML if index < 5
```

## Features

* Sinew caches all HTTP requests on disk. That makes it possible to iterate quickly. Crawl once and then continue to work on your recipe. Run the recipe over and over while you tune your CSS selectors and regular expressions.

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