# nt-carousel

> Plain js centered carousel

Latest version **1.0.3** (published 2017-06-04) · 0 weekly downloads

## Install

```sh
npm install nt-carousel
pnpm add nt-carousel
yarn add nt-carousel
bun add nt-carousel
```

## 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.3 |
| Published | 2017-06-04 |
| First published | 2017-06-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | notiv |

## Links

- npm: https://www.npmjs.com/package/nt-carousel
- Repository: https://github.com/notiv-nt/nt-carousel
- Homepage: https://github.com/notiv-nt/nt-carousel#readme
- Issues: https://github.com/notiv-nt/nt-carousel/issues
- npm.io page: https://npm.io/package/nt-carousel

## Recent versions

- 1.0.3 (latest) — 2017-06-04
- 1.0.2 — 2017-06-04
- 1.0.1 — 2017-06-04
- 1.0.0 — 2017-06-04

## README

# Just a nice carousel

### Demo:
- https://notiv-nt.github.io/nt-carousel/demo/plain/
- https://notiv-nt.github.io/nt-carousel/demo/perspective/
- https://notiv-nt.github.io/nt-carousel/demo/one-page/


### Use:

```
wrapper#our-slider
  slider element
  slider element
  slider element
  slider element
```

Example:
```html
<div id="our-slider">
  <div>Slide</div>
  <div>Slide</div>
  <div>Slide</div>
</div>
```

```javascript
new NTCarousel({
  // string or HTMLElement
  // Default: null
  // Required
  el: '#our-slider',

  // The number of slides on each side, excluding the `.is-current`
  // Default: 3
  slidesCount: 3,

  // Default: true
  infinite: true,

  // Allow slide by clicking
  // Default: true
  itemsClick: true,

  // Set the initial index of the `.is-current` slide
  initialIndex: 0
});
```

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