Created
June 25, 2020 07:41
-
-
Save pretzelhands/7fb2c8de11509c101297e8e7cdb2f397 to your computer and use it in GitHub Desktop.
Allows you to read a notebag.json file
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
const Conf = require("conf"); | |
const util = require("util"); | |
const store = new Conf({ | |
name: "notebag", | |
cwd: "ABSOLUTE_PATH_TO_FOLDER_CONTAINING_NOTEBAG_JSON", | |
encryptionKey: "YOUR_LICENSE_KEY", | |
}); | |
console.log( | |
util.inspect(store.store, false, null) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment