### Install Zenscroll via npm
Source: https://zengabor.github.io/zenscroll
Use the npm package manager to install the library.
```bash
npm install zenscroll
```
--------------------------------
### Retrieve current settings
Source: https://zengabor.github.io/zenscroll
The setup function returns an object containing the current defaultDuration and edgeOffset values.
```javascript
var currentSettings = zenscroll.setup()
var dd = currentSettings.defaultDuration
var eo = currentSettings.edgeOffset
```
--------------------------------
### Configure custom scroller settings
Source: https://zengabor.github.io/zenscroll
Applies setup parameters to a custom scroller instance.
```javascript
myScroller.setup(500, 10)
```
--------------------------------
### Set scroll duration
Source: https://zengabor.github.io/zenscroll
Examples of setting custom durations for various scroll functions. A duration of 0 disables smoothing.
```javascript
zenscroll.toY(50, 100) // 100ms == 0.1 second
```
```javascript
zenscroll.to(about, 500) // 500ms == half a second
```
```javascript
zenscroll.center(image2, 2000) // 2 seconds
```
```javascript
zenscroll.to(about, 0) // 0 milliseconds == no smoothing
```
--------------------------------
### Disable automatic smoothing on local links
Source: https://zengabor.github.io/zenscroll
Set window.noZensmooth to true before loading the Zenscroll script to prevent automatic event handler installation.
```html
...