# instagram-node-wrapper

> A simply wrapper to get user information on instagram

Latest version **1.0.5** (published 2019-12-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install instagram-node-wrapper
pnpm add instagram-node-wrapper
yarn add instagram-node-wrapper
bun add instagram-node-wrapper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2019-12-15 |
| First published | 2019-12-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zechaos |
| Maintainers | zechaos |
| Keywords | instagram, node instagram, wrapper instagram, user instagram |

## Links

- npm: https://www.npmjs.com/package/instagram-node-wrapper
- Repository: https://github.com/zechaos031/instagram-node-wrapper
- Homepage: https://github.com/zechaos031/instagram-node-wrapper#readme
- Issues: https://github.com/zechaos031/instagram-node-wrapper/issues
- npm.io page: https://npm.io/package/instagram-node-wrapper

## Dependencies (1)

- [got](https://npm.io/package/got.md) ^10.0.4

## Recent versions

- 1.0.5 (latest) — 2019-12-15
- 1.0.4 — 2019-12-14
- 1.0.3 — 2019-12-14
- 1.0.2 — 2019-12-14
- 1.0.1 — 2019-12-14
- 1.0.0 — 2019-12-14

## README

# Instagram-node-wrapper

This is a simply node wrapper of instagram

## Install 
```
npm i instagram-node-wrapper
```

## Usage
Basic usage
```js
const instagramWrapper = require('instagram-node-wrapper')

instagramWrapper(username).then((url)=>{
    console.log(url)
})
```
**Get all information**
```js
const instagramWrapper = require('instagram-node-wrapper')

instagramWrapper('instagram').then((url)=>{
    console.log(url)
})
/*
{ description: 'Bringing you closer to the people and things you love. ❤️',
  info: { username: 'instagram', fullName: 'Instagram' },
  follow: { followers: 321759024, following: 224 },
  link:
   { url: 'https://instagram.com/instagram',
     website:
      'https://about.instagram.com/community/programs/pressure-to-be-perfect' },
  posts:
   { number: 6156,
     post:
      [ [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object],
        [Object] ] } }
*/
```
------------------------------------------
**Get image information**
```js
const instagramWrapper = require('instagram-node-wrapper')

instagramWrapper('instagram').then((url)=>{
    console.log(url.posts.post[0]) //0 equal to image do you want 
})
/*
{ url:
   'https://scontent-cdt1-1.cdninstagram.com/v/t51.2885-15/e35/74842677_423371495214848_2034238600495834348_n.jpg?_nc_ht=scontent-cdt1-1.cdninstagram.com&_nc_cat=1&oh=af2e5ea4a9b1f7deb1feb3d37657260b&oe=5DF711CA',
  description: 'Image may contain: tree, dog, outdoor and nature',
  comment: { count: 35298 },
  like: { count: 2142811 } }*/
```

---
_Source: https://npm.io/package/instagram-node-wrapper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
