Skip to content

Kanaries/kanaries-adapters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kanaries/adapters

@kanaries/adapters is a lib for features required to be running on both node and browser, but relay on a different implementation in different environment.

For example, storage in browser is implemented based on indexedDB while storage in node is implemented based on file system.

Usage

npm install --save @kanaries/adapter

# or

yarn add @kanaries/adapter

API

VIStorage

import { VIStorage } from '@kanaries/adapter';

const sto = new VIStorage('test');

sto.init();

sto.setItem('age', 100)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published