# npm-author-scrape

> Javascript module to extract data from an NPM author's profile page.

Latest version **1.0.1** (published 2014-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install npm-author-scrape
pnpm add npm-author-scrape
yarn add npm-author-scrape
bun add npm-author-scrape
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2014-07-28 |
| First published | 2014-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Aiham Hammami |
| Maintainers | aiham |
| Keywords | npm, author, user, scrape, scraper |

## Links

- npm: https://www.npmjs.com/package/npm-author-scrape
- Repository: https://github.com/aiham/npm-author-scrape
- Issues: https://github.com/aiham/npm-author-scrape/issues
- npm.io page: https://npm.io/package/npm-author-scrape

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.39.0
- [jq-html-parser](https://npm.io/package/jq-html-parser.md) ^0.2.1

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2014-07-28
- 1.0.0 — 2014-07-28

## README

# npm-author-scrape

[![NPM version](https://badge.fury.io/js/npm-author-scrape.svg)](http://badge.fury.io/js/npm-author-scrape)

npm-author-scrape is a Javascript module to extract data from an NPM author's profile page.

## Requirements

- [Node.js][]
- [request][]
- [jq-html-parser][]
- [mocha][] (To run tests)

[Node.js]: http://nodejs.org/
[request]: https://github.com/mikeal/request
[jq-html-parser]: https://github.com/jpstevens/jq-html-parser
[mocha]: http://visionmedia.github.io/mocha/

## Installation

```sh
npm install npm-author-scrape
```

## Run Tests

```sh
mocha
```

## Usage

```js
var scrape = require('npm-author-scrape');

scrape('aiham', function (user) {
  console.log(user ? user : 'Not found');
});

/* user contains:

{
  username: 'aiham',
  email: 'aiham@aiham.net',
  full_name: 'Aiham Hammami',
  github: 'aiham',
  twitter: 'aihamh',
  homepage: 'http://www.aiham.net',
  irc_handle: 'aiham',
  modules:
   [ { name: 'no-more-lies',
       url: '/package/no-more-lies',
       description: 'Javascript normaliser for user input from web forms, APIs, etc.' },
     { name: 'node-model.js',
       url: '/package/node-model.js',
       description: 'A simple ORM for use with Node.js and MySQL.' },
     { name: 'reddit-oauth',
       url: '/package/reddit-oauth',
       description: 'Reddit API wrapper' },
     { name: 'reddit-scrubber-cli',
       url: '/package/reddit-scrubber-cli',
       description: 'Removes comments and posts from your Reddit user page' },
     { name: 'valid8',
       url: '/package/valid8',
       description: 'Javascript data validator for use with user input from web forms, APIs, etc.' } ]
}

*/
```

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