open-index/open-npm huggingface dataset:
npm package: 1kb-anchor-scroll
Description: 1kb anchor scroll from https://github.com/bendc/anchor-scroll
Author: bendc
Latest version: 1.0.1

# Anchor scrolling library

Simple 1KB plugin for animating anchor links. [View demo](http://playground.deaxon.com/js/anchor-scroll-demo/).

## Usage

1. Insert `scroll.min.js` in your page.
2. Add a `scroll` class to your anchors.

```html
<a class=scroll href=#intro>Intro</a>
<a class=scroll href=#about>About</a>

<section id=intro> … </section>
<section id=about> … </section>

<script src=scroll.min.js></script>
```