# slidojs

> A light weight minimalistic image slider.

Latest version **1.0.4** (published 2020-06-12) · MIT license · 0 weekly downloads

## Install

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

## 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.4 |
| Published | 2020-06-12 |
| First published | 2020-06-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Manipal Reddy Sunkireddy |
| Maintainers | codebymani |
| Keywords | carousel, slider, image-slider, light-weight, tiny-slider |

## Links

- npm: https://www.npmjs.com/package/slidojs
- Repository: https://github.com/codebymani/slidojs
- Homepage: https://github.com/codebymani/slidojs#readme
- Issues: https://github.com/codebymani/slidojs/issues
- npm.io page: https://npm.io/package/slidojs

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2020-06-12
- 1.0.3 — 2020-06-12
- 1.0.2 — 2020-06-12
- 1.0.1 — 2020-06-12
- 1.0.0 — 2020-06-12

## README

# slido.js
<p>slido is a lightweight weight minimalistic image slider with no dependencies and no styling required.</p>
<p>Bundle Size: 5.64KB (minified) and 1.67KB (gzip)</p>

<p align="center">
  <img  src="assets/demo.gif">
</p>

### [Demo](https://codebymani.github.io/slidojs)
### Installation
- [Download the latest release.](https://github.com/codebymani/slidojs/archive/master.zip)
- Clone the repo: `git clone https://github.com/codebymani/slidojs.git`

If you are using a module bundler
```javascript
 
import {slido} from 'slidojs';
 const demo = slido({
      autoPlay: true,
      idleTime: 3000, // inMilliSeconds
      width: 800, //inPixels
      height: 350, //inPixels
      speed: 1, //inSeconds
      images: ['assets/01.jpg','assets/02.jpg','assets/01.jpg'],
      id:'slido-demo' // id-selector
  })
  demo.init();
 
```

Injecting minified script directly to the browser as slido.min.js
```javascript
  
  <div id="slido-demo"></div>
  
  <script src="slido.min.js"></script>
  <script>
    window.onload = function(){
        var demo = slido({
            autoPlay: true,
            idleTime: 3000, // inMilliSeconds
            width: 800, //inPixels
            height: 350, //inPixels
            speed: 1, //inSeconds
            images: ['assets/01.jpg','assets/02.jpg','assets/01.jpg'],
            id:'slido-demo' // id-selector
        })
        demo.init();
   };
  </script>
```

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