Socket
Socket
Sign inDemoInstall

simple-js-hash-store

Package Overview
Dependencies
1
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-js-hash-store

how to import: ``` const HashStore = require('simple-js-hash-store') const hashStore = new HashStore('./data') ``` storing data ``` const reference = hashStore.save('test') ``` if memory encombered you can remove a specific item from memory using it's ref


Version published
Maintainers
1
Weekly downloads
1
decreased by-50%

Weekly downloads

Readme

Source

how to import:

const HashStore = require('simple-js-hash-store')
const hashStore = new HashStore('./data')

storing data

const reference = hashStore.save('test')

if memory encombered you can remove a specific item from memory using it's reference

hashStore.freeMemory(reference)

if memory encombered you can remove a random item from memory

hashStore.freeMemory()

if storage is full you can remove a random data from storage

hashStore.freeStorage()

contribute

bitcoin address: 1KKiniL7QnMPZZLjgGB2Kq1d7zsjUr6TnS

ethereum address: 0x177b258bD53A8F7d8C609A9277A60A51d1e7e0e0

Keywords

FAQs

Last updated on 24 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc