storage-manager-ts
A storage manager that supports storage managing with local and Redis storages
Last updated 4 months 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.0.5                                ...           latest (10 days ago)

14 Versions

  • 1.0.5                                ...           10 days ago
  • 1.0.4                                ...           10 days ago
  • 1.0.3                                ...           21 days ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           3 months ago
  • 0.0.9                                ...           3 months ago
  • 0.0.8                                ...           3 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           4 months ago
  • 0.0.5                                ...           4 months ago
  • 0.0.4                                ...           4 months ago
  • 0.0.3                                ...           4 months ago
  • 0.0.2                                ...           4 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 27
Last Day 0
Last Week 27
Last Month 0
Dependencies (1)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |