Skip to content

Scrapes a web page and its dependencies and inlines dependencies into a single file.

Notifications You must be signed in to change notification settings

tom-cook-pmev/inliner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This package provides a CLI program that can fetch an HTML page and its dependencies and inline most dependencies, producing a single file that can be loaded offline.

The things that are currently inlined are:

  • CSS files
  • JavaScript files
  • CSS imports
  • CSS fonts
  • Images

SVG images are inlined directly as SVGs, while all other images (and font faces) are converted to data: URLs.

About

Scrapes a web page and its dependencies and inlines dependencies into a single file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages