New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@kanaries/adapters

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@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.

latest
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

@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)

FAQs

Package last updated on 15 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts