Last active
February 14, 2023 12:57
-
-
Save dcortesnet/35a8389186631ec5228ab1853e6d8484 to your computer and use it in GitHub Desktop.
Nodejs escritura de archivo síncrono txt
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
const fs = require("fs"); | |
const arr = ["JBKR23", "TN9728"]; | |
fs.writeFileSync("./text_copy.txt", arr.join("\n")); | |
//JBKR23 | |
//TN9728 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment