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

user-instagram

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

user-instagram - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

2

package.json
{
"name": "user-instagram",
"version": "2.0.4",
"version": "2.0.5",
"description": "Get user data and feed content by scraping Instagram's user page. No OAuth needed.",

@@ -5,0 +5,0 @@ "main": "index.js",

# User-Instagram
![npm](https://img.shields.io/npm/dt/user-instagram) ![David](https://img.shields.io/david/EdouardCourty/user-instagram)
<br>
[![NPM](https://nodei.co/npm/user-instagram.png)](https://nodei.co/npm/user-instagram)

@@ -3,0 +5,0 @@

@@ -9,4 +9,4 @@ const axios = require("axios");

*/
module.exports = username => {
return new Promise(async resolve => {
module.exports = (username) => {
return new Promise(async (resolve) => {
let link = normalizeUrl(username);

@@ -13,0 +13,0 @@ const GQL = await axios.get(link);

@@ -7,3 +7,3 @@ module.exports = {

*/
normalizeUrl : string => {
normalizeUrl: (string) => {
if (!string.match(/instagram\.com\/[^\/]*/)) {

@@ -10,0 +10,0 @@ string = `https://www.instagram.com/${string}`;

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