Installations
npm install npm-scrapper-faris
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
14.21.3
NPM Version
6.14.18
Releases
Unable to fetch releases
Total Downloads
Cumulative downloads
Total Downloads
246
Last day
100%
2
Compared to previous day
Last week
100%
10
Compared to previous week
Last month
0%
246
Compared to previous month
Last year
0%
246
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
npm-scrapper-faris
📝 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
1npm install npm-scrapper-faris
🔧 Usage
1const { pkgInfo } = require('npm-scrapper-faris'); 2 3(async (name) => { 4 const result = await pkgInfo(name); 5 console.log(result); 6})("axios");
Example Output:
1{ 2 Name: "axios", 3 packageUrl: "https://www.npmjs.com/package/axios", 4 Github_Repo: "https://github.com/axios/axios", 5 Weekly_Downloads: "22,384,608", 6 Last_Published: "a month ago", 7 Homepage: "axios-http.com", 8 Version: "1.7.9", 9 License: "MIT", 10 Unpacked_Size: "2.13 MB", 11 Total_Files: "86", 12 Keywords: "xhr, http, ajax, promise, node" 13}
🌟 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
No vulnerabilities found.
No security vulnerabilities found.