Observed since 20 Oct, 18:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Compiles linked css and javascript files into one html file
This is a useful tool for compiling html, css and javascript into one html file. I could not find something like this so I made it myself.
I created this because I wanted a user to be able to open one html file and view a website without loading content from the internet or other local files.
This probably has a lot of bugs so be aware if your gonna use this in production tip: don't
It also does not manage errors well at all
npm i -g 1filecompiler for CLI
npm i --save-dev 1filecompiler for API
The CLI is easy
npx 1fc input.html output.html
const { compile } = require("1fc"); // Import module
let compiledHTML = compile("./input.html"); // Read file and then compile it
console.log(compiledHTML); // Log the compiled output to console
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:2ead4b2176692ca7d70351a491227b28512cb8bb0d4d0f688d7d80c356582961