Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-scrapper-faris

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-scrapper-faris

A lightweight package to scrape and extract metadata for npm packages.

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-42.11%
Maintainers
0
Weekly downloads
 
Created
Source

npm-scrapper-faris

npm version downloads license

A Brand

📝 About

npm-scrapper-faris is a lightweight npm package designed to scrape and extract information about any npm package. Whether you're a developer exploring package metadata or an enthusiast curious about npm stats, this tool simplifies the process with ease.


🚀 Features

  • 🗂 Fetch detailed metadata for any npm package.
  • 📊 Extract details like description, version, author, license, keywords, and more.
  • ⚡ Simple and intuitive API.
  • ✅ Fully asynchronous for seamless integration.

📦 Installation

npm install npm-scrapper-faris

🔧 Usage

const { pkgInfo } = require('npm-scrapper-faris');

(async (name) => {
  const result = await pkgInfo(name);
  console.log(result);
})("axios");

Example Output:

{
  Name: "axios",
  packageUrl: "https://www.npmjs.com/package/axios",
  Github_Repo: "https://github.com/axios/axios",
  Weekly_Downloads: "22,384,608",
  Last_Published: "a month ago",
  Homepage: "axios-http.com",
  Version: "1.7.9",
  License: "MIT",
  Unpacked_Size: "2.13 MB",
  Total_Files: "86",
  Keywords: "xhr, http, ajax, promise, node"
}

🌟 Why npm-scrapper-faris?

  • Easy to use: One-liner integration into your projects.
  • Lightweight: Focused and optimized for speed.
  • Detailed Insights: Get all the key information you need in one go.

📚 API Reference

pkgInfo(packageName)

Fetches metadata for the specified npm package.

Parameters:
  • packageName (string): The name of the npm package you want to scrape.
Returns:
  • A promise that resolves to an object containing package details.

🤝 Contributing

Contributions are currently not accepted as the code is proprietary and encrypted.


📜 License

This project is licensed under the MIT License.


Made with ❤️ by Faris

Keywords

FAQs

Package last updated on 03 Jan 2025

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc