Catalog npm
PACKAGE EXPLORERView in registry

1filecompiler

npm

Compiles linked css and javascript files into one html file

Versions collected8
Direct dependencies3From release 0.0.8
Last observed20 Oct, 18:28 UTC

README

Current package documentation

1 File Compiler

What is this?

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.

Why?

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.

CAUTION

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

Installation

npm i -g 1filecompiler for CLI

npm i --save-dev 1filecompiler for API

CLI

The CLI is easy

npx 1fc input.html output.html

API

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 8

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.8Registry latest26 Sept 20213
0.0.725 Sept 20213
0.0.625 Sept 20213
0.0.59 Jan 20214
0.0.49 Jan 20214
0.0.39 Jan 20214
0.0.28 Jan 20214
0.0.111 Nov 20203

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2ead4b2176692ca7d70351a491227b28512cb8bb0d4d0f688d7d80c356582961