What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-25 05:24:11
Manually Parsing PDF in Node.js
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=b2dLDqmYT4I */ // Import dependencies const fs = require("fs"); const PDFParser = require("pdf2json"); // Get all the... Add solution -
Javascript 2021-10-23 05:22:11
how to write to a file with javascript without nodejs
const fs = require('fs'); fs.writeFile("/tmp/test", "Hey there!", function(err) { if(err) { return console.log(err); } console.log("The file was saved!"); }); // Or fs.writeFileSync('/tmp/test-sync', 'H... Add solution -
Javascript 2021-10-14 13:18:07
web scraping node js puppeteer
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=GAvpZuVzeA8 */ // AQI Air Pollution Level Health Implications Cautionary Statement (for PM2.5) // 0 - 50 Good Air quality is considered sa... Add solution -
Javascript 2021-10-14 12:32:11
Scraping Reddit Programmer Humor with Node.js using Puppeteer
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=Zb--639XePw */ // Import dependencies const puppeteer = require("puppeteer"); const fs = require("fs"); (async () =&g... Add solution -
Javascript 2021-10-11 03:02:07
Web Scraping with Node.js using Puppeteer
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=GAvpZuVzeA8 */ // AQI Air Pollution Level Health Implications Cautionary Statement (for PM2.5) // 0 - 50 Good Air quality is considered sa... Add solution -
Javascript 2021-09-21 21:50:02
Working with TOML in JavaScript
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=kdZN9IOfyeE */ // Import dependencies const fs = require("fs"); const toml = require("toml"); // Read a toml file con... Add solution