Last active
February 21, 2023 07:46
-
-
Save tobbbe/b806af01a3ea89c3f1a83fa3b561409b to your computer and use it in GitHub Desktop.
log quick but (very) dirty file logger
This file contains 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
require('fs').writeFile( | |
require('path').join(process.cwd(), '/.tob.log'), | |
JSON.stringify(_DATA_, null, 4), | |
(err)=>{if (err) console.log(err)} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment