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
| import { writeFile, readdir, readFile } from 'node:fs/promises'; | |
| import path from 'path'; | |
| /* | |
| This code is not mine, and only did a few modifications which instead exports the notes into separate txt files instead of the original's result of exporting it into a single txt file. | |
| */ | |
| /* | |
| Steps to get/export your notes from Huawei Notes: |