New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

npm-author-scrape

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-author-scrape

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

1.0.1
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

npm-author-scrape

NPM version

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

Requirements

Installation

npm install npm-author-scrape

Run Tests

mocha

Usage

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.' } ]
}

*/

Keywords

npm

FAQs

Package last updated on 28 Jul 2014

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