1.0.0 • Published 1 year ago

npm-datastorage v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

npm-storage

Secure your lists, arrays.

Usage (Set Item) (Secure Array In an local storage)

// Set item
const { NPStorageSetItem } = require('npm-storage')

const arr = [1,2,3,4,5]
const secureArray = NPStorageSetItem(arr)
console.log(secureArray._arr)

//Or create an array with set item itself
const secureArray2 = NPStorageSetItem([1,2,3,4,5])
console.log(secureArray2._array)

Usage (Create Item) (Create an secure array)

const { NPStorageCreateItem }

const secureArray = NPStorageCreateItem([1,2,3,4,5])
console.log(secureArray._items)
1.0.0

1 year ago