storage-manager-ts
A storage manager that supports storage managing with local and Redis storages
Last updated a month 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.1.4                                ...           latest (13 days ago)

23 Versions

  • 1.1.4                                ...           13 days ago
  • 1.1.3                                ...           13 days ago
  • 1.1.2                                ...           13 days ago
  • 1.1.1                                ...           13 days ago
  • 1.1.0                                ...           13 days ago
  • 1.0.9                                ...           13 days ago
  • 1.0.8                                ...           13 days ago
  • 1.0.7                                ...           14 days ago
  • 1.0.6                                ...           14 days ago
  • 1.0.5                                ...           a month ago
  • 1.0.4                                ...           a month ago
  • 1.0.3                                ...           a month ago
  • 1.0.2                                ...           3 months ago
  • 1.0.1                                ...           4 months ago
  • 0.0.9                                ...           4 months ago
  • 0.0.8                                ...           4 months ago
  • 0.0.7                                ...           4 months ago
  • 0.0.6                                ...           4 months ago
  • 0.0.5                                ...           5 months ago
  • 0.0.4                                ...           5 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 99
Dependencies (0)
None
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |