Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

kevast/kevast-chrome.js

Repository files navigation

kevast-chrome.js

Dependencies Dev Dependencies Package Version Open Issues MIT License

A chrome storage for kevast.js.

Installation

Node.js

Using yarn

yarn add kevast-chrome

Using npm

npm install kevast-chrome

Browser

<script src="https://cdn.jsdelivr.net/npm/kevast-chrome/dist/kevast-chrome.min.js"></script>

Usage

const { Kevast } = require('kevast');
const { KevastChrome } = require('kevast-chrome');
const assert = require('assert');

(async () => {
  const kevast = new Kevast(new KevastChrome());
  await kevast.set('key', 'value');
  assert(await kevast.get('key') === 'value');
})();

About

Chrome extension storage for kevast.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published