@ouroboros/browser
v0.5.0
Published
Package to handle common browser functionality.
Downloads
109
Maintainers
Readme
@ouroboros/browser
A library of classes to manage functionality in browsers.
Installation
npm install @ouroboros/browser
clipboard
Import clipboard into your code
import clipboard from '@ouroboros/browser/clipboard';
or
import { clipboard } from '@ouroboros/browser';
copy()
cookies
Import Cookies into your code
import cookies from '@ouroboros/browser/cookies';
or
import { cookies } from '@ouroboros/browser';
get(), remove(), set()
hash
Import hash into your code
import hash from '@ouroboros/browser/hash';
or
import { hash } from '@ouroboros/browser';
get(), set(), subscribe(), unsubscribe()
network
Import network into your code
import network from '@ouroboros/browser/network';
or
import { network } from '@ouroboros/browser';
default (Subscribe)
pageVisibility
Import pageVisibility into your code
import pageVisibility from '@ouroboros/browser/pageVisibility';
or
import { pageVisibility } from '@ouroboros/browser';
default (Subscribe)
safeLocalStorage
Import safeLocalStorage into your code
import safeLocalStorage from '@ouroboros/browser/safeLocalStorage';
or
import { safeLocalStorage } from '@ouroboros/browser';
bool(), json(), string()
size
Import size into your code
import size from '@ouroboros/browser/size';
or
import { size } from '@ouroboros/browser';
size (Subscribe), compare(), greaterThan(), lessThan()