is-unique-view

0.0.1 • Public • Published

is-unique-view

This library lets you check if a pageview is unique. Unique being defined as a user has not viewed the page in the last 30minutes.

Its pretty easy to install and use.

Install

npm install is-unique-view
or
yarn add is-unique-view

Usage

const isUniqueView = require('is-unique-view')

if (isUniqueView()) {
  // view is unique
} else {
  // view is not unique
}

Readme

Keywords

none

Package Sidebar

Install

npm i is-unique-view

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

157 kB

Total Files

6

Last publish

Collaborators

  • frankyso
  • eoinmurray
  • helenadomo