Skip to content

Rishavrishu-creator/data-storage-secure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

data-storage-secure

*** If any problem please file an issue in github *** *** I am ready to work in group projects to build products *** *** Email: rishavrishu2001.ra@gmail.com mobile: 6289712990(INDIA) ***

This is a local storage data package similar to session..(It stores data in an array)

Security of the data will be done later...

var data = require('data-storage-secure')

How to store data?

Code:

data.store("key","value")

You cannot store the value with same key twice or more than once!!

How to retrieve data?

var result = data.get("key")

if result is null then it will show null otherwise your data

How to get size or length of data stored in array?

var length=data.size()

How to clear all data stored until now?

data.clear()

How to delete a particular data

data.delete("key")

How to get value of a key if the index of key in array is known?

data.value("key")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published