@amaui/storage
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

amaui logo

amaui Storage

Storage


MIT license     Production ready     UMD 3.2kb gzipped     100% test cov     Browser

Very simple code     Modern code     Junior friendly     Typescript     Made with 💛


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

Package Sidebar

Install

npm i @amaui/storage

Weekly Downloads

30

Version

1.0.14

License

MIT

Unpacked Size

44.7 kB

Total Files

11

Last publish

Collaborators

  • lazareric