Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vanilla-back-to-top

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilla-back-to-top - npm Package Compare versions

Comparing version 7.1.7 to 7.1.8

4

INSTALL.md
# Install
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/v7.1.7/dist/vanilla-back-to-top.min.js) to your project and serve it from your server:
If you don't want to rely on [unpkg.com](https://unpkg.com/#/about), save [the file](https://raw.githubusercontent.com/vfeskov/vanilla-back-to-top/v7.1.8/dist/vanilla-back-to-top.min.js) to your project and serve it from your server:
```html

@@ -9,3 +9,3 @@ <script src="/assets/vanilla-back-to-top.min.js"></script>

You can also install the package via npm and import it into your bundle:
<a id="#import"></a>You can also install the package via npm and import it into your bundle:
```bash

@@ -12,0 +12,0 @@ npm install --save vanilla-back-to-top

{
"name": "vanilla-back-to-top",
"version": "7.1.7",
"description": "Tiny and configurable Back To Top button with no dependencies",
"version": "7.1.8",
"description": "Simple and smooth Back To Top button with no dependencies",
"main": "dist/vanilla-back-to-top.umd.js",

@@ -52,5 +52,5 @@ "repository": {

"scripts": {
"build": "node scripts/build",
"build": "node npm-scripts/build",
"precommit": "npm run build && git add ./dist",
"postversion": "node scripts/update-docs.js && sh scripts/fixup-docs.sh",
"postversion": "node npm-scripts/update-docs.js && sh npm-scripts/fixup-docs.sh",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -57,0 +57,0 @@ },

# Vanilla Back To Top
[![No Dependencies](http://svgshare.com/i/4rU.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/package.json)
[![File Size](https://img.shields.io/github/size/vfeskov/vanilla-back-to-top/dist/vanilla-back-to-top.min.js.gz.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/dist/vanilla-back-to-top.min.js.gz)
[![No Dependencies](http://svgshare.com/i/4rU.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/package.json)
[![File Size](https://img.shields.io/github/size/vfeskov/vanilla-back-to-top/dist/vanilla-back-to-top.min.js.gz.svg)](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/dist/vanilla-back-to-top.min.js.gz)
[![Downloads](https://img.shields.io/npm/dm/vanilla-back-to-top.svg)](https://www.npmjs.com/package/vanilla-back-to-top)

@@ -10,3 +10,3 @@

[<img src="https://i.pi.gy/O1Gbz.png" width="67" /><img src="https://i.pi.gy/8Z0Nj.png" width="54"><img src="https://i.pi.gy/0P8Nr.png" width="120"><img src="https://i.pi.gy/Vabg0.png" width="72">](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/EXAMPLES.md)<br/>
[<img src="https://i.pi.gy/O1Gbz.png" width="67" /><img src="https://i.pi.gy/8Z0Nj.png" width="54"><img src="https://i.pi.gy/0P8Nr.png" width="120"><img src="https://i.pi.gy/Vabg0.png" width="72">](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/EXAMPLES.md)<br/>

@@ -24,2 +24,4 @@ <img src="https://i.pi.gy/ee5b5.gif" width="320px"/>

- No dependencies or requirements
- Great for static websites on [Jekyll](https://jekyllrb.com/), [Hexo](hexo.io), [Hugo](https://gohugo.io/) etc
- Great with [Vue](https://vuejs.org/), [React](https://reactjs.org/), [Angular](https://angular.io/) etc, see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/INSTALL.md#import)

@@ -30,3 +32,3 @@ ## How to use

```html
<script src="https://unpkg.com/vanilla-back-to-top@7.1.7/dist/vanilla-back-to-top.min.js"></script>
<script src="https://unpkg.com/vanilla-back-to-top@7.1.8/dist/vanilla-back-to-top.min.js"></script>
<script>addBackToTop({

@@ -38,11 +40,11 @@ diameter: 56,

```
For alternative installation see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/INSTALL.md)
For alternative installation see [INSTALL](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/INSTALL.md)
See [EXAMPLES](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/EXAMPLES.md)
See [EXAMPLES](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/EXAMPLES.md)
For all options see [OPTIONS](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/OPTIONS.md)
For all options see [OPTIONS](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/OPTIONS.md)
## License
MIT, see [LICENSE](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.7/LICENSE)
MIT, see [LICENSE](https://github.com/vfeskov/vanilla-back-to-top/blob/v7.1.8/LICENSE)

@@ -49,0 +51,0 @@ Default icon from [Material Design Icons](https://material.io/icons/#ic_keyboard_arrow_up) under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), which only restricts re-selling the icon

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc