A simple npm package to extract and process the contents of a zip file.
npm install zipouternpm install adm-zipconst { extractAndProcessZip } = require("zipouter");
or;
import { extractAndProcessZip } from "zipouter";
const zipFileName = "your-zip-file.zip";
extractAndProcessZip(zipFileName)
.then((results) => {
console.log("Compilation Results:", results);
})
.catch((error) => {
console.error("Error:", error.message);
});Before proceeding further, ensure that you have Java, Node.js, and Python installed on your local machine. You can download and install them from the official websites:
- Extract and process zip files.
- Support for multiple programming languages, including Java, JavaScript, Python, and more.
Extracts and processes the contents of a zip file.
zipFileName: The name of the zip file to process.
Returns a promise that resolves to an array of CompilationResult objects.
fileName: Name of the processed file.output: Compilation output or error message.
- Java: Files with a
.javaextension. - JavaScript: Files with a
.jsextension. - Python: Files with a
.pyextension.
import { extractAndProcessZip } from "zipouter";
const zipFileName = "example.zip";
extractAndProcessZip(zipFileName)
.then((results) => {
console.log("Compilation Results:", results);
})
.catch((error) => {
console.error("Error:", error);
});This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have suggestions, please open an issue on GitHub.

