storage-manager-ts
A storage manager that supports storage managing with local and Redis storages
Last updated 14 days ago by danitseitlin .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install storage-manager-ts 
SYNC missed versions from official npm registry.

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 *

Current Tags

  • 1.2.2                                ...           latest (14 days ago)

31 Versions

  • 1.2.2                                ...           14 days ago
  • 1.2.1                                ...           15 days ago
  • 1.2.0                                ...           23 days ago
  • 1.1.9                                ...           2 months ago
  • 1.1.8                                ...           2 months ago
  • 1.1.7                                ...           2 months ago
  • 1.1.6                                ...           2 months ago
  • 1.1.5                                ...           2 months ago
  • 1.1.4                                ...           2 months ago
  • 1.1.3                                ...           2 months ago
  • 1.1.2                                ...           2 months ago
  • 1.1.1                                ...           2 months ago
  • 1.1.0                                ...           2 months ago
  • 1.0.9                                ...           2 months ago
  • 1.0.8                                ...           2 months ago
  • 1.0.7                                ...           2 months ago
  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           3 months ago
  • 1.0.4                                ...           3 months ago
  • 1.0.3                                ...           3 months ago
  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
  • 0.0.9                                ...           6 months ago
  • 0.0.8                                ...           6 months ago
  • 0.0.7                                ...           6 months ago
  • 0.0.6                                ...           6 months ago
  • 0.0.5                                ...           6 months ago
  • 0.0.4                                ...           6 months ago
  • 0.0.3                                ...           6 months ago
  • 0.0.2                                ...           6 months ago
  • 0.0.1                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 29
Last Day 0
Last Week 0
Last Month 124
Dependencies (0)
None
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |