remember-location

1.0.3 • Public • Published

Description

A simple tool to help your website remember the location/offset from where the user leaves your website. When the user revisit your website, the page will be relocated to the preview location.

Guide

It is very easy to adopt it in your website.

First, get it installed in your repo 🚀~

npm install remember-location

Then, use it like a breeze~

// For ES Module
import RememberLocation from 'remember-location';
// or for node.js
const RememberLocation = require('remember-location');

new RememberLocation();

Readme

Keywords

Package Sidebar

Install

npm i remember-location

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

30.6 kB

Total Files

17

Last publish

Collaborators

  • sitongchen