Encrypted IndexedDB - Designed for convenience of use, using Promise instead of callback or multiple callbacks for events.
Repository
Similar to C++ STL with one exceptional rule for compound properties/variables.
- my_namespace
- my_class
- my_method (or function var, or event)
- my_primitive (maths is using both lower-case and upper-case, bool or number)
- My_Compound (maths is using both lower-case and upper-case, others)
- MY_CONSTANT
Primary field id
(in-line key, auto-incremented) is always added by default to all object stores.
Special object stores such as op_hist
(operation history), fts
(full-text search)
are added to index schema by default when using those features too.
Usage
- Use
eidb
class in global scope; see doc: eidb
Quick Start and Guides
Source Code Documentation
Tools
- JSDoc, clean-jsdoc-theme Template
JSDoc: Error TypeError: Do not know how to serialize a BigInt
at JSON.stringify (<anonymous>)
at exports.nodeToValue (/usr/lib/node_modules/jsdoc/lib/jsdoc/src/astnode.js)
How to Fix:
- Open
astnode.js
to edit - Add this line at top
BigInt.prototype.toJSON = function(){ return this.toString(); };
- Ref: GoogleChromeLabs/jsbi#30 (comment)
Generate/Encryption/Decryption
- Web Crypto API
Generate/Sign/Verify
- Elliptic