npm i npm-profile-scraper
Get any NPM Profile information to use on your own Website or Blog.
IMPORTANT: It only works on SERVER SIDE due to CORS error.
The easiest way to use the library.
import { fetchNPMProfile } from 'npm-profile-scraper'
const result = await fetchNPMProfile({ username: 'zendostrike' })
result.profile // Type: NPMProfile
/**
NPMProfile
username: string
fullName: string
githubUsername: string
githubLink: string
totalPackages: string
**/
result.packages // Type: NPMPackage[]
/**
NPMPackage
name: string
description: string
creator: string
info: string
link: string
**/
Distributed under the MIT License. See LICENSE
for more information.
Giancarlo Ramirez - @zendostrike - gece.ramirez@gmail.com
Project Link: https://github.com/zendostrike/npm-profile-scraper