I am making a script for my office to take screenshots of web pages. I wish I could update my script whenever I want without having to send a new version to everyone. Is it possible to run an external JS file locally with nodejs on a server?
I'm trying to launch a js file with this code inside my computer, but it doesn't work.
const puppeteer = require('http://www.servername.com/app-screesnhot.js');