Find and replace relative URLs to absolute.
Blatantly using code from this answer on stackoverflow
const absolute = require('relatively-absolute')
var absolute_html = absolute(source_html, page_url)
Find and replace relative URLs to absolute.
Blatantly using code from this answer on stackoverflow
const absolute = require('relatively-absolute')
var absolute_html = absolute(source_html, page_url)
npm i relatively-absolute
0
0.1.2
ISC