1.1.6 • Published 5 years ago

tiny-localstorage v1.1.6

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

What is that?

Tiny "TLS" Local Storage it's just a HTML5/JS Local Storage "things" to store and get stuff!

Installing

Be sure you have Node JS installed. npm i tiny-localstorage

Usage

First thing is import TLS import TLS from 'tiny-localstorage'

Now, you can save TLS into a variable (optional, you can use directly) let tls = TLS

You can be happy with these methods()

SET Insert one item like a json object or some variable passing its name as string type and the object itself as parameter tls.set("itemName", itemContent)

GET Get one item passing its name as string parameter tls.get("itemName")

DELETE Delete one item passing its name in string format as parameter tls.del("itemName")

CHECK Return true if exist a item passing its name as string parameter tls.chk("itemName")

CLEAR ...and all storage is gone! Forever... tls.clr()

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago