api documentation for node-persist (v2.0.10)

Super-easy (and fast) persistent data structures in Node.js, modeled after HTML5 localStorage

table of contents

  1. module node-persist
    1. function node-persist.create (userOptions)
    2. function node-persist.init (userOptions, callback)
    3. function node-persist.initSync (userOptions)
    4. function node-persist.local_storage (userOptions)
    5. object node-persist.local_storage.prototype
    6. object node-persist.node_persist
  2. module node-persist.local_storage
    1. function node-persist.local_storage (userOptions)
  3. module node-persist.local_storage.prototype
    1. function node-persist.local_storage.prototype.calcTTL (ttl)
    2. function node-persist.local_storage.prototype.clear (callback)
    3. function node-persist.local_storage.prototype.clearSync ()
    4. function node-persist.local_storage.prototype.del (key, callback)
    5. function node-persist.local_storage.prototype.forEach (callback)
    6. function node-persist.local_storage.prototype.get (key, callback)
    7. function node-persist.local_storage.prototype.getItem (key, callback)
    8. function node-persist.local_storage.prototype.getItemSync (key)
    9. function node-persist.local_storage.prototype.init (userOptions, callback)
    10. function node-persist.local_storage.prototype.initSync (userOptions)
    11. function node-persist.local_storage.prototype.isExpired (key)
    12. function node-persist.local_storage.prototype.keys ()
    13. function node-persist.local_storage.prototype.length ()
    14. function node-persist.local_storage.prototype.log ()
    15. function node-persist.local_storage.prototype.md5 (data)
    16. function node-persist.local_storage.prototype.parse (str)
    17. function node-persist.local_storage.prototype.parseFile (filename, callback)
    18. function node-persist.local_storage.prototype.parseFileSync (filename)
    19. function node-persist.local_storage.prototype.parseStorageDir (callback)
    20. function node-persist.local_storage.prototype.parseStorageDirSync ()
    21. function node-persist.local_storage.prototype.persist (callback)
    22. function node-persist.local_storage.prototype.persistKey (key, callback)
    23. function node-persist.local_storage.prototype.persistKeySync (key)
    24. function node-persist.local_storage.prototype.persistSync ()
    25. function node-persist.local_storage.prototype.removeExpiredItems (callback)
    26. function node-persist.local_storage.prototype.removeItem (key, callback)
    27. function node-persist.local_storage.prototype.removeItemSync (key)
    28. function node-persist.local_storage.prototype.removePersistedKey (key, callback)
    29. function node-persist.local_storage.prototype.removePersistedKeySync (key)
    30. function node-persist.local_storage.prototype.resolveDir (dir)
    31. function node-persist.local_storage.prototype.rm (key, callback)
    32. function node-persist.local_storage.prototype.set (key, value, options, callback)
    33. function node-persist.local_storage.prototype.setItem (key, value, options, callback)
    34. function node-persist.local_storage.prototype.setItemSync (key, value, options)
    35. function node-persist.local_storage.prototype.setOptions (userOptions)
    36. function node-persist.local_storage.prototype.startExpiredKeysInterval ()
    37. function node-persist.local_storage.prototype.startPersistInterval (persistFunction)
    38. function node-persist.local_storage.prototype.stopExpiredKeysInterval ()
    39. function node-persist.local_storage.prototype.stopPersistInterval ()
    40. function node-persist.local_storage.prototype.stringify (obj)
    41. function node-persist.local_storage.prototype.values ()
    42. function node-persist.local_storage.prototype.valuesWithKeyMatch (match)
  4. module node-persist.node_persist
    1. function node-persist.node_persist.create (userOptions)
    2. function node-persist.node_persist.init (userOptions, callback)
    3. function node-persist.node_persist.initSync (userOptions)

module node-persist

function node-persist.create (userOptions)

function node-persist.init (userOptions, callback)

function node-persist.initSync (userOptions)

function node-persist.local_storage (userOptions)

module node-persist.local_storage

function node-persist.local_storage (userOptions)

module node-persist.local_storage.prototype

function node-persist.local_storage.prototype.calcTTL (ttl)

function node-persist.local_storage.prototype.clear (callback)

function node-persist.local_storage.prototype.clearSync ()

function node-persist.local_storage.prototype.del (key, callback)

function node-persist.local_storage.prototype.forEach (callback)

function node-persist.local_storage.prototype.get (key, callback)

function node-persist.local_storage.prototype.getItem (key, callback)

function node-persist.local_storage.prototype.getItemSync (key)

function node-persist.local_storage.prototype.init (userOptions, callback)

function node-persist.local_storage.prototype.initSync (userOptions)

function node-persist.local_storage.prototype.isExpired (key)

function node-persist.local_storage.prototype.keys ()

function node-persist.local_storage.prototype.length ()

function node-persist.local_storage.prototype.log ()

function node-persist.local_storage.prototype.md5 (data)

function node-persist.local_storage.prototype.parse (str)

function node-persist.local_storage.prototype.parseFile (filename, callback)

function node-persist.local_storage.prototype.parseFileSync (filename)

function node-persist.local_storage.prototype.parseStorageDir (callback)

function node-persist.local_storage.prototype.parseStorageDirSync ()

function node-persist.local_storage.prototype.persist (callback)

function node-persist.local_storage.prototype.persistKey (key, callback)

function node-persist.local_storage.prototype.persistKeySync (key)

function node-persist.local_storage.prototype.persistSync ()

function node-persist.local_storage.prototype.removeExpiredItems (callback)

function node-persist.local_storage.prototype.removeItem (key, callback)

function node-persist.local_storage.prototype.removeItemSync (key)

function node-persist.local_storage.prototype.removePersistedKey (key, callback)

function node-persist.local_storage.prototype.removePersistedKeySync (key)

function node-persist.local_storage.prototype.resolveDir (dir)

function node-persist.local_storage.prototype.rm (key, callback)

function node-persist.local_storage.prototype.set (key, value, options, callback)

function node-persist.local_storage.prototype.setItem (key, value, options, callback)

function node-persist.local_storage.prototype.setItemSync (key, value, options)

function node-persist.local_storage.prototype.setOptions (userOptions)

function node-persist.local_storage.prototype.startExpiredKeysInterval ()

function node-persist.local_storage.prototype.startPersistInterval (persistFunction)

function node-persist.local_storage.prototype.stopExpiredKeysInterval ()

function node-persist.local_storage.prototype.stopPersistInterval ()

function node-persist.local_storage.prototype.stringify (obj)

function node-persist.local_storage.prototype.values ()

function node-persist.local_storage.prototype.valuesWithKeyMatch (match)

module node-persist.node_persist

function node-persist.node_persist.create (userOptions)

function node-persist.node_persist.init (userOptions, callback)

function node-persist.node_persist.initSync (userOptions)

[ this document was created with utility2 ]