Socket
Socket
Sign inDemoInstall

packagescrapers

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packagescrapers - npm Package Compare versions

Comparing version 2.0.11 to 2.0.12

14

index.js

@@ -24,2 +24,4 @@ const axios = require('axios')

const update = []
const tags = []
const tagurl = []

@@ -42,2 +44,10 @@ $("._0d2164ff > div > a > h3").each((i, el) => {

$("._0d2164ff > ul > li > a").each((i, el) => {
tags[i] = $(el).text().trim();
})
$("._0d2164ff > ul > li > a").each((i, el) => {
tagurl[i] = $(el).attr("href");
})
const result = [];

@@ -49,3 +59,5 @@ for (let i = 0; i < url.length; i++) {

desc: desc[i],
updated: update[i]
updated: update[i],
tags: tags[i],
tagurl: 'https://npmjs.com'+tagurl[i]
};

@@ -52,0 +64,0 @@ }

2

package.json
{
"name": "packagescrapers",
"version": "2.0.11",
"version": "2.0.12",
"description": "Npm Package To Search Package At NPMJS PyPi And Github!",

@@ -5,0 +5,0 @@ "repository": "https://github.com/nekozu/packagesrapers",

const pack = require('./index.js')
pack.github('telegram').then(res => console.log(res))
//pack.github('telegram').then(res => console.log(res))
pack.npm('telegram').then(res => console.log(res))
//pack.npm('telegram').then(res => console.log(res))
//pack.pypi('telegram').then(res => console.log(res))
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