1.0.14 • Published 6 months ago

@amaui/storage v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Getting started

Add

  yarn add @amaui/storage

Use

  import AmauiStorage from '@amaui/storage';

  const amauiStorage = new AmauiStorage();

  const value = { a: 4 };

  // Add
  amauiStorage.add('a', value);

  // Get
  amauiStorage.get('a');

  // { a: 4 }

  // Remove
  amauiStorage.remove('a');

  amauiStorage.get('a');

  // null

Dev

Install

  yarn

Test

  yarn test

Prod

Build

  yarn build