storage-manager-ts
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

Storage Manager · GitHub license npm version CI

About

A project that contains utilities for local storage & general storage purposes

Quick start

Initialize your local storage manager:

import { LocalStorage } from 'storage-manager-ts';
const storage = new LocalStorage();
const value = storage.get('key');

Local storage functions list

Function Description
get Returning the value of a key
set Setting the value of a key
delete Deleting a key
getKeys Returning all the keys
convertKeyListToJSON Building a JSON of the key + value

Helper functions list

Function Description
filterKeys Returning if the keys match with a regex, * will indicate that an a key starts with the regex after the *
filterKey Returning if a key match with a regex, * will indicate that an a key starts with the regex after the *

/storage-manager-ts/

    Package Sidebar

    Install

    npm i storage-manager-ts

    Weekly Downloads

    6

    Version

    1.2.2

    License

    BSD-3-Clause

    Unpacked Size

    10.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • danitseitlin