Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var website = "";
// <a href="">Team</a>
var fs = require('fs');
var stream = fs.createWriteStream("my_file.txt");
stream.once('open', function(fd) {
for(i=1; i<465; i++) {
stream.write('<a href="'+website+i+'">'+'Chapter '+i+'</a>'+"\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.