@webreflection/offliner
v0.0.4
Published
A NodeJS, Bun, Deno way to fetch all remote dependencies locally so that you can use the same WebSite via any local *HTTP* server that is able to serve such content
Downloads
459
Maintainers
Readme
offliner
A NodeJS, Bun, Deno way to fetch all remote dependencies locally so that you can use the same WebSite via any local HTTP server that is able to serve such content.
Usage
node src/index.js [options] URLFetches all the assets required by that specific URL as entry point and store these into the destination folder.
Options
--verboseor-vto read the process while it happens: default: false--destor-dto decide where to put all fetched content that can be used offline: default: ./offline
Example
It stores this page locally into the ./offline folder with all assets stored by hierarchi and namespaces retrieved from CDNs and remote entries.
node src/index.js --verbose https://example.com/