# instaswipe

> This is right now a `cli` tool and javascript api to be able to generate "swipable" images for [Instagram](https://www.instagram.com).

Latest version **0.0.1** (published 2019-07-08) · 0 weekly downloads

## Install

```sh
npm install instaswipe
pnpm add instaswipe
yarn add instaswipe
bun add instaswipe
```

Provides the command `instaswipe`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2019-07-08 |
| First published | 2019-07-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | ~jcblw |

## Links

- npm: https://www.npmjs.com/package/instaswipe
- npm.io page: https://npm.io/package/instaswipe

## Dependencies (2)

- [drawable](https://npm.io/package/drawable.md) ^0.3.0
- [buffer-image-size](https://npm.io/package/buffer-image-size.md) ^0.6.4

## Recent versions

- 0.0.1 (latest) — 2019-07-08

## README

# Instaswipe

This is right now a `cli` tool and javascript api to be able to generate "swipable" images for [Instagram](https://www.instagram.com).

[example post](https://www.instagram.com/p/BzqhFekFptS/?utm_source=ig_web_copy_link)

> Requires > Nodejs 10

## Usage

```shell
npx instaswipe IMG_9881.jpg
```

This should create two images to be create a swipable post on Instagram.

### Javascript api

```javascript
import makeSwipeableImages from 'instaswipe'


...
// resolves an array of image buffers
const images = await makeSwipeableImages({
  buffer, // image buffer of image to make swipable images from,
  frames, // amount of frames to create, two is default
  ratio, // ratio of outputted image. 0.8 is default or 4/5
})
...
```

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