This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * NeDB With Encryption & Decryption | |
| * Last Update 12 Feb 2020 | |
| * | |
| * @author : Herlangga Sefani Wijaya <https://github.com/gaibz> | |
| */ | |
| const path = require('path') // path for database | |
| const Datastore = require("nedb") // of course you need NeDB | |
| const crypto = require('crypto') // now is in node default module |